Пример #1
0
 /// <summary>
 /// Executed when client is ready to pay (after finishing it's dessert)
 /// </summary>
 /// <param name="GroupId"></param>
 protected virtual void OnReadyToPay(ClientGroup group)
 {
     ReadyToPay?.Invoke(this, new OrderEventArgs(group));
 }
Пример #2
0
 public OrderEventArgs(ClientGroup group)
 {
     cltGroup = group;
 }
Пример #3
0
 /// <summary>
 /// Executed when every client of a group has finished eating
 /// </summary>
 /// <param name="GroupId"></param>
 protected virtual void OnDishFinished(ClientGroup group)
 {
     DishFinished?.Invoke(this, new OrderEventArgs(group));
 }