Define the WormPlanner class which handles planning. More...
Public Member Functions | |
constructor | WormPlanner (rail_manager) |
function | GetSubsidizedRoute (planned_route) |
Choose a subsidy if there is one available that suits us. | |
function | GetRoute (planned_route) |
Find a cargo, a source and a destination to build a new service. | |
function | PlanRailRoute () |
Plan a rail route. |
Public Attributes | |
route = null | |
Details about the route we planned. |
Define the WormPlanner class which handles planning.
function WormPlanner::GetRoute | ( | planned_route | ) |
Find a cargo, a source and a destination to build a new service.
Builder class variables set: crglist, crg, srclist, src, dstlist, dst, srcistown, dstistown, srcplace, dstplace
function WormPlanner::GetSubsidizedRoute | ( | planned_route | ) |
Choose a subsidy if there is one available that suits us.
planned_route | A WormRoute class that will receive details about the planned route. |