AIEventEngineAvailable Class Reference

Event Engine Available, indicating a new engine is available. More...

Inheritance diagram for AIEventEngineAvailable:

AIEvent

Public Member Functions

 AIEventEngineAvailable (EngineID engine)
EngineID GetEngineID ()
 Get the EngineID of the new engine.

Static Public Member Functions

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

Detailed Description

Event Engine Available, indicating a new engine is available.

Constructor & Destructor Documentation

AIEventEngineAvailable::AIEventEngineAvailable ( EngineID  engine  ) 

Parameters:
engine The engine that is available.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

EngineID AIEventEngineAvailable::GetEngineID (  )  [inline]

Get the EngineID of the new engine.

Returns:
The EngineID of the new engine.


Generated on Thu Jun 30 21:53:52 2016 for OpenTTD NoAI API by  doxygen 1.5.6