Beispiel #1
0
 public override TransportState Process(Transport transport)
 {
     transport.LoadCargo();
     if (transport.CanDepartToDestination())
     {
         transport.DepartToDestination();
         return(OnTheRoad);
     }
     return(this);
 }