private void GetFood(Food food) { hasFood = true; Location foodLocation = new Location(food.location.Left, food.location.Top); ReleasePheromoneOnFood(foodLocation); food.GetFood(); }
private void DrawFood(Food food) { SolidBrush brush = new SolidBrush(Color.Green); mapGraphics.FillEllipse(brush, food.location); }