rails.game
Interface TrainTypeI
- All Superinterfaces:
- java.lang.Cloneable, ConfigurableComponentI
- All Known Implementing Classes:
- TrainType
public interface TrainTypeI
- extends ConfigurableComponentI, java.lang.Cloneable
getCityScoreFactor
int getCityScoreFactor()
- Returns:
- Returns the cityScoreFactor.
getCost
int getCost()
- Returns:
- Returns the cost.
countsHexes
boolean countsHexes()
- Returns:
- Returns the countHexes.
nextCanBeExchanged
boolean nextCanBeExchanged()
- Returns:
- Returns the firstExchange.
addToBoughtFromIPO
void addToBoughtFromIPO()
getNumberBoughtFromIPO
int getNumberBoughtFromIPO()
getExchangeCost
int getExchangeCost()
- Returns:
- Returns the firstExchangeCost.
getMajorStops
int getMajorStops()
- Returns:
- Returns the majorStops.
getMinorStops
int getMinorStops()
- Returns:
- Returns the minorStops.
getName
java.lang.String getName()
- Returns:
- Returns the name.
getReleasedTrainTypes
java.util.List<TrainTypeI> getReleasedTrainTypes()
- Returns:
- Returns the releasedTrainType.
getRustedTrainType
TrainTypeI getRustedTrainType()
- Returns:
- Returns the rustedTrainType.
getStartedPhaseName
java.lang.String getStartedPhaseName()
- Returns:
- Returns the startedPhaseName.
getTownCountIndicator
int getTownCountIndicator()
- Returns:
- Returns the townCountIndicator.
getTownScoreFactor
int getTownScoreFactor()
- Returns:
- Returns the townScoreFactor.
isAvailable
boolean isAvailable()
- Returns:
- Returns the available.
isObsoleting
boolean isObsoleting()
hasInfiniteAmount
boolean hasInfiniteAmount()
setAvailable
void setAvailable(Bank bank)
- Parameters:
available
- The available to set.
setRusted
void setRusted(Portfolio lastBuyingCompany)
hasRusted
boolean hasRusted()
getReleasedTrainTypeNames
java.lang.String getReleasedTrainTypeNames()
getRustedTrainTypeName
java.lang.String getRustedTrainTypeName()
isPermanent
boolean isPermanent()
setPermanent
void setPermanent(boolean permanent)
setReleasedTrainTypes
void setReleasedTrainTypes(java.util.List<TrainTypeI> releasedTrainTypes)
setRustedTrainType
void setRustedTrainType(TrainTypeI rustedTrainType)
cloneTrain
TrainI cloneTrain()
getIndex
int getIndex()
getTrainManager
TrainManager getTrainManager()
getInfo
java.lang.String getInfo()