Modifier and Type | Field and Description |
---|---|
MapObj |
Node.mapobj |
Modifier and Type | Method and Description |
---|---|
Node |
Dijkstra.lookUpNode(MapObj mapObj)
a lookup table that returns a Node instance for a given map obj, it should be noted that nodes are just extended mapobj's.
|
Constructor and Description |
---|
Node(MapObj st)
creates a new node for a given instance of a station/junction
|
Modifier and Type | Class and Description |
---|---|
class |
Junction |
class |
Station |
Modifier and Type | Method and Description |
---|---|
MapObj |
Connection.getDestination() |
MapObj |
Connection.getStartMapObj() |
MapObj[] |
MapInstance.mapObjList() |
Modifier and Type | Method and Description |
---|---|
void |
MapInstance.addMapObj(MapObj obj)
Adds an object to the map
|
boolean |
MapInstance.changeNameMapping(MapObj mapObj,
java.lang.String newName) |
void |
MapInstance.removeAllConnections(MapObj startPoint) |
void |
MapInstance.removeConnection(MapObj startPoint,
MapObj endPoint) |
Constructor and Description |
---|
Connection(MapObj startMapObj,
MapObj endMapObj) |
Connection(MapObj startMapObj,
MapObj endMapObj,
Line colour)
A connection between two adjacent MapObjs in the Map.
|
Modifier and Type | Field and Description |
---|---|
static MapObj |
Game_Map_Manager.conObj1 |
static MapObj |
Game_Map_Manager.selectedObj |
Modifier and Type | Method and Description |
---|---|
MapObj |
Game_Map_Station.getMapObj() |
MapObj |
Game_Map_MapObj.getMapObj() |
MapObj |
Game_Map_Junction.getMapObj() |
Modifier and Type | Method and Description |
---|---|
static void |
Game_Map_Manager.addNewConnection(MapObj startPoint,
MapObj endPoint) |
Modifier and Type | Method and Description |
---|---|
void |
Shop.lockStation(MapObj mapObj,
boolean testCase) |
void |
Shop.unlockStation(MapObj mapObj,
boolean testCase) |
Modifier and Type | Method and Description |
---|---|
void |
Route.setCurrentMapObj(MapObj current)
The currentMapObj the train is positioned at
|
Constructor and Description |
---|
Route(MapObj startingPos)
Creates an arrayList of connections (a route) for the train to eventually follow
|
Modifier and Type | Method and Description |
---|---|
void |
NewGame.lockMapObj(MapObj object)
Saves any locked stations to Replay.
|
void |
NewGame.unlockMapObj(MapObj object)
Saves any unlocked stations to Replay.
|
Modifier and Type | Method and Description |
---|---|
void |
Replay.addLock(MapObj obj) |
void |
Replay.removeLock(MapObj obj)
called when a station is fixed to remove it from the list of locked stations
|