Route
in package
AbstractYes
Table of Contents
Methods
- containsPort() : bool
- getExpMultiplierSum() : int
- getMoneyMultiplierSum() : int
- getOneWayRoutes() : array<int, OneWayRoute>
- Recurse through the Route tree to get an ordered list.
- getOverallExpMultiplier() : float
- getOverallMoneyMultiplier() : float
- getPortSectorIDs() : array<string|int, int>
- Provides a list of sector IDs for all ports in the Route.
- getRouteString() : string
- getTurnsForRoute() : int
Methods
containsPort()
public
abstract containsPort(int $sectorID) : bool
Parameters
- $sectorID : int
Return values
boolgetExpMultiplierSum()
public
abstract getExpMultiplierSum() : int
Return values
intgetMoneyMultiplierSum()
public
abstract getMoneyMultiplierSum() : int
Return values
intgetOneWayRoutes()
Recurse through the Route tree to get an ordered list.
public
abstract getOneWayRoutes() : array<int, OneWayRoute>
Return values
array<int, OneWayRoute>getOverallExpMultiplier()
public
getOverallExpMultiplier() : float
Return values
floatgetOverallMoneyMultiplier()
public
getOverallMoneyMultiplier() : float
Return values
floatgetPortSectorIDs()
Provides a list of sector IDs for all ports in the Route.
public
abstract getPortSectorIDs() : array<string|int, int>
Return values
array<string|int, int>getRouteString()
public
abstract getRouteString() : string
Return values
stringgetTurnsForRoute()
public
abstract getTurnsForRoute() : int