AIEventCompanyBankrupt Class Reference

Event Company Bankrupt, indicating a company has gone bankrupt. More...

Inheritance diagram for AIEventCompanyBankrupt:

AIEvent AIObject

Public Member Functions

 AIEventCompanyBankrupt (Owner owner)
AICompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that has gone bankrupt.

Static Public Member Functions

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

Detailed Description

Event Company Bankrupt, indicating a company has gone bankrupt.

Constructor & Destructor Documentation

AIEventCompanyBankrupt::AIEventCompanyBankrupt ( Owner  owner  )  [inline]

Parameters:
owner The company that has gone bankrupt.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

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

Get the CompanyID of the company that has gone bankrupt.

Returns:
The CompanyID of the company that has gone bankrupt.


Generated on Wed Sep 15 14:11:49 2010 for OpenTTD NoAI API by  doxygen 1.5.6