Helper functions
bool is_valid_spawn_position(int x, int y)
: Given x and y coordinate value, it will return whether it is a valid spawn position coordinate or notbool is_valid_spawn_position(Position pos)
: Given a Position, it will return whether it is a valid spawn positionstd::vector<Position> get_all_valid_spawn_positions()
: Returns all the valid spawn positions
is_valid_spawn_position(pos: Position) -> bool
: Given a Position, it will return whether its a valid spawn position
get_all_valid_spawn_positions() -> List[Position]
: Returns all valid spawn positionsboolean Helpers.isValidSpawnPosition(Position position)
: Given a Position,it will return whether its a valid spawn positionSet<Position> Helpers.getAllValidSpawnPositions()
: Returns all valid spawn positions