GSTileList_IndustryAccepting Class Reference

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

Inheritance diagram for GSTileList_IndustryAccepting:

GSTileList GSList

Public Member Functions

 GSTileList_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

GSTileList_IndustryAccepting::GSTileList_IndustryAccepting ( IndustryID  industry_id,
int  radius 
)

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

radius > 0.


Generated on Sun Mar 31 21:37:41 2013 for OpenTTD Game API by  doxygen 1.5.6