Exemplo n.º 1
0
 void RemoveMatchFood()
 {
     // Loop all the food in the matchfood arraylist and destroy it
     for (int i = 0; i < matchFoods.Count; i++)
     {
         FoodItems item = matchFoods[i] as FoodItems;
         item.DestroyFood();
     }
 }