Simulator/src/model/map/Map.java
/**
	 * Check if a {@link Position} is out of map.
	 * 
	 * @param position
	 *            The position.
	 * @return True if it is out of the map, false otherwise.
	 */
Check if a  Position is out of map.

@param position
The position.
@return True if it is out of the map, false otherwise.
Check if a Position is out of map . @param position The position . @return True if it is out of the map false otherwise .
public boolean isOutOfBounds(Position position) {
		if (position.x > width || position.x < 0 || position.y > height || position.y < 0)
			return true;
		return false;
	}
public boolean isOutOfBounds ( Position position ) { if ( position . x > width || position . x < 0 || position . y > height || position . y < 0 ) return true ; return false ; }
Check if a {@link Position} is out of map.
Check if a { @link Position } is out of map .