public void RecieveOrder(Order orderToAdd)
 {
     CurrentOrders.Add(orderToAdd);
     OrderHistory.Add(orderToAdd);
 }
Exemple #2
0
 public void SendOrder(Location locationToSend)
 {
     locationToSend.RecieveOrder(CurrentOrder);
     OrderHistory.Add(CurrentOrder);
     CurrentOrder = null;
 }