WormAIDev  Worm SELF_VERSION
 All Classes Files Functions Variables Pages
Static Public Member Functions | List of all members
WormRailBuilder Class Reference

Define the WormRailBuilder class which handles trains. More...

Static Public Member Functions

static function ChooseWagon (cargo, blacklist)
 Choose a rail wagon for the given cargo.

Detailed Description

Define the WormRailBuilder class which handles trains.

Member Function Documentation

function WormRailBuilder::ChooseWagon ( cargo  ,
blacklist   
)
static

Choose a rail wagon for the given cargo.

Parameters
cargoThe cargo which will be transported by te wagon.
Returns
The EngineID of the chosen wagon, null if no suitable wagon was found.

The documentation for this class was generated from the following file: