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
-
cargo | The 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: