示例#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));
 }