AIEventVehicleLost Class Reference

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

#include <ai_event_types.hpp>

Inheritance diagram for AIEventVehicleLost:

AIEvent AIObject SimpleCountedObject

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

VehicleID vehicle_id

Detailed Description

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

Definition at line 489 of file ai_event_types.hpp.


Constructor & Destructor Documentation

AIEventVehicleLost::AIEventVehicleLost ( VehicleID  vehicle_id  )  [inline]

Parameters:
vehicle_id The vehicle that is lost.

Definition at line 496 of file ai_event_types.hpp.


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.

Definition at line 506 of file ai_event_types.hpp.

VehicleID AIEventVehicleLost::GetVehicleID (  )  [inline]

Get the VehicleID of the vehicle that is lost.

Returns:
The VehicleID of the vehicle that is lost.

Definition at line 512 of file ai_event_types.hpp.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 20:40:29 2009 for OpenTTD by  doxygen 1.5.6