Ejemplo n.º 1
0
 /// <summary>
 /// Is used to set the destination for an order
 /// </summary>
 /// <param name="order"></param>
 /// <param name="residence"></param>
 private void SetDestination(OrderController order, ResidenceType residence)
 {
     order.SetDestination(residence);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Is used to set type of oil for an order
 /// </summary>
 /// <param name="order"></param>
 /// <param name="oil"></param>
 private void SetOrder(OrderController order, OilType oil, int amount)
 {
     order.SetOrder(oil, amount);
 }