// Create new order public CustomerOrder(SaladDish dish) { Dish = dish; _timeToComplete = dish.WaitTime; TimeRemaining = _timeToComplete; }
public void PlaceOrder(SaladDish dish) { Order = new CustomerOrder(dish); OrderUI.Order = Order; }