/// <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)); }
public OrderEventArgs(ClientGroup group) { cltGroup = group; }
/// <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)); }