Package | Description |
---|---|
com.TeamHEC.LocomotionCommotion.Train |
Modifier and Type | Field and Description |
---|---|
Route |
Train.route |
Modifier and Type | Method and Description |
---|---|
Route |
Train.getRoute() |
Constructor and Description |
---|
CoalTrain(int speedMod,
boolean inStation,
Route route,
Player player) |
CoalTrain(org.json.simple.JSONObject train,
Route route,
Player player)
Reinstantiates train from JSON Object
|
ElectricTrain(int speedMod,
boolean inStation,
Route route,
Player player) |
ElectricTrain(org.json.simple.JSONObject train,
Route route,
Player player)
Reinstantiates train from JSON Object
|
NuclearTrain(int speedMod,
boolean inStation,
Route route,
Player player) |
NuclearTrain(org.json.simple.JSONObject train,
Route route,
Player player)
Reinstantiates train from JSON Object
|
OilTrain(int speedMod,
boolean inStation,
Route route,
Player player) |
OilTrain(org.json.simple.JSONObject train,
Route route,
Player player)
Reinstantiates train from JSON Object
|
Train(java.lang.String name,
Fuel fuelType,
int baseSpeed,
int speedMod,
int value,
boolean inStation,
Route route,
Player owner)
The superclass of Train types, Creates a Train for player.
|