AIEventVehicleWaitingInDepot Class Reference

Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there. More...

Inheritance diagram for AIEventVehicleWaitingInDepot:

AIEvent

Public Member Functions

 AIEventVehicleWaitingInDepot (VehicleID vehicle_id)
VehicleID GetVehicleID ()
 Get the VehicleID of the vehicle that is waiting in a depot.

Static Public Member Functions

static
AIEventVehicleWaitingInDepot
Convert (AIEvent *instance)
 Convert an AIEvent to the real instance.

Detailed Description

Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there.

Constructor & Destructor Documentation

AIEventVehicleWaitingInDepot::AIEventVehicleWaitingInDepot ( VehicleID  vehicle_id  ) 

Parameters:
vehicle_id The vehicle that is waiting in a depot.


Member Function Documentation

static AIEventVehicleWaitingInDepot* AIEventVehicleWaitingInDepot::Convert ( AIEvent instance  )  [inline, static]

Convert an AIEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.

VehicleID AIEventVehicleWaitingInDepot::GetVehicleID (  )  [inline]

Get the VehicleID of the vehicle that is waiting in a depot.

Returns:
The VehicleID of the vehicle that is waiting in a depot.


Generated on Thu May 31 21:43:02 2012 for OpenTTD NoAI API by  doxygen 1.5.6