2016-03-08 20:06:36 +00:00
|
|
|
#include "Cavalier.h"
|
2016-03-06 21:51:07 +00:00
|
|
|
|
|
|
|
Cavalier::Cavalier(int x, int y) : Piece(CAVALIER, x, y) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// ABSTRACT
|
2016-03-08 18:23:35 +00:00
|
|
|
bool Cavalier::can(const ChessContext& ctx, int x, int y){
|
2016-03-06 21:51:07 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
char Cavalier::getchar(){
|
2016-03-08 18:23:35 +00:00
|
|
|
return 'C';
|
2016-03-06 21:51:07 +00:00
|
|
|
}
|