Define the WormRoute class which holds the details about a planned route. More...
Public Member Functions | |
| constructor | WormRoute () | 
| Constructor for WormRoute class.  | |
| function | ResetRoute () | 
| Resets variables in WormRoute class to default values.   | |
Define the WormRoute class which holds the details about a planned route.
      
  | 
  inline | 
Resets variables in WormRoute class to default values.
< The cargo selected to be transported.
< ID of source town or industry
< ID of destination town or industry
< Is the source a town or cargo producing industry
< Is the destination a town or cargo receiving industry
< Location (tile) of source
< Location (tile) of destionation
< Whether this route is built to get a subsidy or not
< Are we going to use double rail for this route or not
< Manhattan distance between SourceLocation and DestLocation
 1.8.1.2