Lancer par le taxi quand il pose un client.
|
Methods
|
|
__init__
__repr__
__traitementStation
cheminStation
station
|
|
|
__init__
|
__init__ (
self,
temps,
taxi,
client,
)
Constructeur.
- temps (Int)
- Le moment ou l'evenement aura lieu
- taxi (Taxi)
- Le taxi qui cree l'evenement
- retourne (EvTaxi)
- Un objet EvTaxi
|
|
|
__repr__
|
__repr__ ( self )
Donne des infos sur l'événement
|
|
|
__traitementStation
|
__traitementStation ( self )
Appeler par traiter.
D'apres la politique redonne une station.
|
Exceptions
|
|
ErreurTraiter( __name__, __version__, "Pas de station retourner par la politique" )
|
|
|
|
cheminStation
|
cheminStation ( self )
Selecteur.
- retourne (Chemin)
- Chemin que le taxi doit faire pour aller
à la station.
- depuis - 1.3
|
|
|
station
|
station ( self )
la station ou est le taxi.
- retourne (Station)
- Un objet Station
|