예제 #1
0
 /** Assigne un client au véhicule
  *  p_client: le client qui lui est assigné
  */
 public override void AssignerClient(Client p_client)
 {
     if (p_client is ClientTransport)
     {
         if (m_client == null)
         {
             m_client = (ClientTransport)p_client;
         }
         else
         {
             m_client.NbClients += ((ClientTransport)p_client).NbClients;
         }
     }
 }
예제 #2
0
 public override void ResetClient()
 {
     m_client = null;
 }