public static void GivePlateToCustomer(Recipe order, int n) { if (m_plateInHand != null && Recipe.CompareRecipe(m_plateInHand, order)) { RestaurantMain.AddMoney(m_plateInHand.GetPrice()); ChangePlateInHand(null); CustomerGenerator.RemoveCustomer(n); } }