|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.TeamHEC.LocomotionCommotion.Goal.Goal
com.TeamHEC.LocomotionCommotion.Goal.SpecialGoal
com.TeamHEC.LocomotionCommotion.Goal.CargoGoal
public class CargoGoal
Field Summary |
---|
Fields inherited from class com.TeamHEC.LocomotionCommotion.Goal.Goal |
---|
goalActor |
Constructor Summary | |
---|---|
CargoGoal(Station startStation,
Station finalStation,
Station stationVia,
java.lang.String cargo,
int reward2)
Initialises the goal. |
Method Summary |
---|
Methods inherited from class com.TeamHEC.LocomotionCommotion.Goal.Goal |
---|
assignTrain, getCargo, getFStation, getReward, getSStation, getStartTurn, getTrain, getTurnLimit, getVia, goalComplete, goalFailed, isSpecial, setActor, setSpecial, stationPassed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CargoGoal(Station startStation, Station finalStation, Station stationVia, java.lang.String cargo, int reward2)
startStation
- The Station the goal starts fromfinalStation
- The Station the goal ends atstationVia
- The Station the goal wants you to travel viacargo
- The type of cargo the train is carryingreward2
- The reward (currently Gold) you get for completing the Goal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |