Exemplo n.º 1
0
 public void PlaceFood(Food food)
 {
     this[food.Point] = food;
 }
Exemplo n.º 2
0
 public void UpdateFoodPosition(Food food)
 {
     this[food.Point] = food;
     // Not deleting food position as it has been replaced by snake head earlier
 }