AIEventIndustryClose Class Reference

Event Industry Close, indicating an industry is going to be closed. More...

Inheritance diagram for AIEventIndustryClose:

AIEvent

Public Member Functions

 AIEventIndustryClose (IndustryID industry_id)
IndustryID GetIndustryID ()
 Get the IndustryID of the closing industry.

Static Public Member Functions

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

Detailed Description

Event Industry Close, indicating an industry is going to be closed.

Constructor & Destructor Documentation

AIEventIndustryClose::AIEventIndustryClose ( IndustryID  industry_id  ) 

Parameters:
industry_id The new industry.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

IndustryID AIEventIndustryClose::GetIndustryID (  )  [inline]

Get the IndustryID of the closing industry.

Returns:
The IndustryID of the industry.


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