lab.cpp/Chess/dep/Pieces/Pion.cpp

14 lines
192 B
C++
Raw Normal View History

2016-03-06 21:51:07 +00:00
Pion::Pion(int x, int y) : Piece(PION, x, y) {
}
// ABSTRACT
2016-03-08 18:23:35 +00:00
bool Pion::can(const ChessContext& ctx, const int x, const int y) const{
2016-03-06 21:51:07 +00:00
return true;
}
char Pion::getchar(){
return 'P';
}