public boolean validMove(int targetX, int targetY, boolean color) {
		if (Board.onBoard(targetX, targetY)
				&& ((curX == targetX)
						&& ((targetY == curY + 1) || (targetY == curY - 1)) || ((curY == targetY) && ((targetX == curX + 1) || (targetX == curX - 1))))) {
			return true;
		}
		return false;
	}