Example #1
0
 public void Move()
 {
     targetFloor = floorManager.GetMostPriorityFloor(this);
     //calll api to Move to target floor
     lift.Move(targetFloor);
     currentFloor = targetFloor;
     floorManager.Notify(this);
 }