AIEventTownFounded Class Reference

Event Town Founded, indicating a new town has been created. More...

Inheritance diagram for AIEventTownFounded:

AIEvent

Public Member Functions

 AIEventTownFounded (TownID town)
TownID GetTownID ()
 Get the TownID of the town.

Static Public Member Functions

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

Detailed Description

Event Town Founded, indicating a new town has been created.

Constructor & Destructor Documentation

AIEventTownFounded::AIEventTownFounded ( TownID  town  ) 

Parameters:
town The town that was created.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

TownID AIEventTownFounded::GetTownID (  )  [inline]

Get the TownID of the town.

Returns:
The TownID of the town that was created.


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