@Override
	public int checkMove(Board board, XY to) {
		int output = super.checkMove(board, to);
		if (output < CORRECT_MOVE)
			return output;
		else {
			boolean isAbleToCastle = Math.abs(this.getXY().getX() - to.getX()) == 2;
			if (isAbleToCastle)
				output = CASTLING;
		}
		return output;
	}