lab.cpp/Chess/dep/Pieces/Roi.cpp

14 lines
169 B
C++
Raw Normal View History

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