|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.TeamHEC.LocomotionCommotion.Train.TrainUpgrade
com.TeamHEC.LocomotionCommotion.Train.SpeedUpgrade
public class SpeedUpgrade
| Field Summary |
|---|
| Fields inherited from class com.TeamHEC.LocomotionCommotion.Train.TrainUpgrade |
|---|
train |
| Constructor Summary | |
|---|---|
SpeedUpgrade(Train train)
|
|
| Method Summary | |
|---|---|
void |
addUpgrade()
upgrade a train's speed |
void |
undoUpgrade()
undo a speed upgrade |
| Methods inherited from class com.TeamHEC.LocomotionCommotion.Train.TrainUpgrade |
|---|
getCost |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpeedUpgrade(Train train)
| Method Detail |
|---|
public void addUpgrade()
addUpgrade in class TrainUpgradepublic void undoUpgrade()
undoUpgrade in class TrainUpgrade
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||