public static <E extends GameObject> List<E> getNearby(Vector2D position, List<E> list){
		final int MAX_DISTANCE = 50;
		List<E> neighbours = new ArrayList<>();
		for (E thing : list){
			Vector2D other = thing.getPosition();
			if (Utilities.distance(position, other) < MAX_DISTANCE){
				neighbours.add(thing);
			}
		}
		return neighbours;
	}