/** 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; } } }
public override void ResetClient() { m_client = null; }