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

15 lines
170 B
C++
Raw Normal View History

// #include "Pion.h"
2016-03-06 21:51:07 +00:00
Pion::Pion(int x, int y) : Piece(PION, x, y) {
}
// ABSTRACT
bool Pion::can(int x, int y){
2016-03-06 21:51:07 +00:00
return true;
}
char Pion::getchar(){
return 'P';
}