14 lines
167 B
C++
14 lines
167 B
C++
|
|
||
|
Pion::Pion(int x, int y) : Piece(PION, x, y) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// ABSTRACT
|
||
|
bool Pion::can(const int x, const int y) const{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
char Pion::getchar(){
|
||
|
return 'P';
|
||
|
}
|