public void preCalc() {
		List<Entity> entities = Game.getInstance().getEntities();
		double minDst = Agent.visualRange + 1;
		for (Entity e : entities) {
			if (e.getClass().equals(FoodEntity.class) && owner.sees(e)) {
				double distance = Math.sqrt(owner.distanceSquared(e));
				if (minDst > distance)
					minDst = distance;
			}
		}
		if (minDst < Agent.visualRange + 1) {
			stored = minDst / Agent.visualRange;
			return;
		}
		stored = 0;
		return;
	}