AIEventCompanyNew Class Reference

Event Company New, indicating a new company has been created. More...

Inheritance diagram for AIEventCompanyNew:

AIEvent

Public Member Functions

 AIEventCompanyNew (Owner owner)
AICompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that has been created.

Static Public Member Functions

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

Detailed Description

Event Company New, indicating a new company has been created.

Constructor & Destructor Documentation

AIEventCompanyNew::AIEventCompanyNew ( Owner  owner  ) 

Parameters:
owner The new company.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

AICompany::CompanyID AIEventCompanyNew::GetCompanyID (  )  [inline]

Get the CompanyID of the company that has been created.

Returns:
The CompanyID of the company.


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