com.TeamHEC.LocomotionCommotion.Goal
Class SpecialGoal

java.lang.Object
  extended by com.TeamHEC.LocomotionCommotion.Goal.Goal
      extended by com.TeamHEC.LocomotionCommotion.Goal.SpecialGoal
All Implemented Interfaces:
RouteListener
Direct Known Subclasses:
CargoGoal, ComboGoal, RouteGoal, TimedGoal

public class SpecialGoal
extends Goal


Field Summary
 
Fields inherited from class com.TeamHEC.LocomotionCommotion.Goal.Goal
goalActor
 
Constructor Summary
SpecialGoal(Station startStation, Station finalStation, Station stationVia, java.lang.String cargo, int reward2)
           
SpecialGoal(Station startstation, Station finalStation, Station stationVia, java.lang.String cargo, int reward2, int turnLimit)
           
 
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

SpecialGoal

public SpecialGoal(Station startStation,
                   Station finalStation,
                   Station stationVia,
                   java.lang.String cargo,
                   int reward2)

SpecialGoal

public SpecialGoal(Station startstation,
                   Station finalStation,
                   Station stationVia,
                   java.lang.String cargo,
                   int reward2,
                   int turnLimit)