public static Entity getEntityWithinRange(Point location, double maxRange, Team entityTeam) throws EntityNotFound {
		if (entityTeam == Team.EVIL) {
			for (Enemy enemy : enemies) {
				if (enemy.isLocationWithinDistance(location, maxRange)) {
					return enemy;
				}
			}
		} else {
			if (HeroInfo.INSTANCE.isHeroAlive() && HeroInfo.INSTANCE.getHero().isLocationWithinDistance(location, maxRange)) {
				return HeroInfo.INSTANCE.getHero();
			}
		}

		throw new EntityNotFound("No close entity");
	}