Package | Description |
---|---|
com.TeamHEC.LocomotionCommotion.Map |
Modifier and Type | Method and Description |
---|---|
Line |
Connection.getColour() |
Line[] |
Station.getLineType() |
static Line |
Line.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Line[] |
Line.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Station.addLine(Line colour) |
void |
Station.removeLine(Line colour) |
void |
Connection.setColour(Line lineColour)
sets the colour of the connection to a new value
|
Constructor and Description |
---|
Connection(MapObj startMapObj,
MapObj endMapObj,
Line colour)
A connection between two adjacent MapObjs in the Map.
|
Station(java.lang.String name,
int baseValue,
Resource resourceType,
int baseFuelOut,
Line[] line,
int rentValue,
float x,
float y) |
Station(java.lang.String name,
int baseValue,
Resource resourceType,
int baseFuelOut,
Line[] line,
int rentValue,
float x,
float y,
boolean locked) |