示例#1
0
 // Create new order
 public CustomerOrder(SaladDish dish)
 {
     Dish            = dish;
     _timeToComplete = dish.WaitTime;
     TimeRemaining   = _timeToComplete;
 }
示例#2
0
 public void PlaceOrder(SaladDish dish)
 {
     Order         = new CustomerOrder(dish);
     OrderUI.Order = Order;
 }