OpenTTD NoAI API
Public Member Functions
AITileList_IndustryProducing Class Reference

Creates a list of tiles which the industry checks to see if a station is there to receive cargo produced by this industry. More...

Inheritance diagram for AITileList_IndustryProducing:
AITileList AIList AIObject

Public Member Functions

 AITileList_IndustryProducing (IndustryID industry_id, int radius)

Detailed Description

Creates a list of tiles which the industry checks to see if a station is there to receive cargo produced by this industry.


Constructor & Destructor Documentation

AITileList_IndustryProducing::AITileList_IndustryProducing ( IndustryID  industry_id,
int  radius 
)
Parameters:
industry_idThe industry to create the AITileList around.
radiusThe radius of the station you will be using.
Precondition:
AIIndustry::IsValidIndustry(industry_id).
radius > 0.