コード例 #1
0
 public void WashUstensil(List <Ustensil> useUstensil, KitchenPorter kitchenPorter)
 {
     if (model.counter.useUsentils[0] != null)
     {
         MoveToCounter(kitchenPorter);
         MoveToDishWater(kitchenPorter);
         StartDishWasher(useUstensil);
     }
 }
コード例 #2
0
 private void MoveToCounter(KitchenPorter kitchenPorter)
 {
     kitchenPorter.NotifyObservers(model.kitchen.cleanningRoom.travelToCounter);
 }
コード例 #3
0
 public void MoveToDishWater(KitchenPorter kitchenPorter)
 {
     kitchenPorter.NotifyObservers(model.kitchen.cleanningRoom.travelToDW);
 }