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(); } }