public void eat() { Edible e = MapManager.getEdibleAt(transform.position); if (e) { food.restore(e.eat()); } }