AITileList_IndustryAccepting Class Reference

Creates a list of tiles that will accept cargo for the given industry. More...

Inheritance diagram for AITileList_IndustryAccepting:

AITileList AIList

Public Member Functions

 AITileList_IndustryAccepting (IndustryID industry_id, int radius)

Detailed Description

Creates a list of tiles that will accept cargo for the given industry.

Note:
If a simular industry is close, it might happen that this industry receives the cargo.

Constructor & Destructor Documentation

AITileList_IndustryAccepting::AITileList_IndustryAccepting ( IndustryID  industry_id,
int  radius 
)

Parameters:
industry_id The industry to create the AITileList around.
radius The radius of the station you will be using.
Precondition:
AIIndustry::IsValidIndustry(industry_id).

radius > 0.


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