private static boolean handleRookMove(Board b, ArrayList<Move> moves, Position p, Position currentPosition, int opponentColor, int piece) {
		if (b.spaceHasOpponent(currentPosition, opponentColor)) {
			// There is an opponent here, this will be a possible move
			moves.add(new Move(p, currentPosition));
			// But the rook can not jump over this, so stop the loop
			return false;
		}
		if (b.spaceIsEmpty(currentPosition)) {
			// If the space is just empty, then it's a valid move
			moves.add(new Move(p, currentPosition));
			return true;
		}
		// Space is taken by one of our pieces, all other
		// moves after this are invalid, break.
		return false;
	}