OpenTTD NoAI API
|
Event Town Founded, indicating a new town has been created. More...
Public Member Functions | |
AIEventTownFounded (TownID town) | |
TownID | GetTownID () |
Get the TownID of the town. | |
Static Public Member Functions | |
static AIEventTownFounded * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. |
Event Town Founded, indicating a new town has been created.
AIEventTownFounded::AIEventTownFounded | ( | TownID | town | ) | [inline] |
town | The town that was created. |
static AIEventTownFounded* AIEventTownFounded::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
TownID AIEventTownFounded::GetTownID | ( | ) | [inline] |
Get the TownID of the town.