AIEventCompanyInTrouble Class Reference

Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon. More...

Inheritance diagram for AIEventCompanyInTrouble:

AIEvent AIObject

Public Member Functions

 AIEventCompanyInTrouble (Owner owner)
AICompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that is in trouble.

Static Public Member Functions

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

Detailed Description

Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon.

Constructor & Destructor Documentation

AIEventCompanyInTrouble::AIEventCompanyInTrouble ( Owner  owner  )  [inline]

Parameters:
owner The company that is in trouble.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

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

Get the CompanyID of the company that is in trouble.

Returns:
The CompanyID of the company in trouble.


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