AIEventVehicleLost Class Reference

Event Vehicle Lost, indicating a vehicle can't find its way to its destination. More...

Inheritance diagram for AIEventVehicleLost:

AIEvent

Public Member Functions

 AIEventVehicleLost (VehicleID vehicle_id)
VehicleID GetVehicleID ()
 Get the VehicleID of the vehicle that is lost.

Static Public Member Functions

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

Detailed Description

Event Vehicle Lost, indicating a vehicle can't find its way to its destination.

Constructor & Destructor Documentation

AIEventVehicleLost::AIEventVehicleLost ( VehicleID  vehicle_id  ) 

Parameters:
vehicle_id The vehicle that is lost.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

VehicleID AIEventVehicleLost::GetVehicleID (  )  [inline]

Get the VehicleID of the vehicle that is lost.

Returns:
The VehicleID of the vehicle that is lost.


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