rails.game
Interface TrainTypeI

All Superinterfaces:
java.lang.Cloneable, ConfigurableComponentI
All Known Implementing Classes:
TrainType

public interface TrainTypeI
extends ConfigurableComponentI, java.lang.Cloneable


Method Summary
 void addToBoughtFromIPO()
           
 TrainI cloneTrain()
           
 boolean countsHexes()
           
 int getCityScoreFactor()
           
 int getCost()
           
 int getExchangeCost()
           
 int getIndex()
           
 java.lang.String getInfo()
           
 int getMajorStops()
           
 int getMinorStops()
           
 java.lang.String getName()
           
 int getNumberBoughtFromIPO()
           
 java.lang.String getReleasedTrainTypeNames()
           
 java.util.List<TrainTypeI> getReleasedTrainTypes()
           
 TrainTypeI getRustedTrainType()
           
 java.lang.String getRustedTrainTypeName()
           
 java.lang.String getStartedPhaseName()
           
 int getTownCountIndicator()
           
 int getTownScoreFactor()
           
 TrainManager getTrainManager()
           
 boolean hasInfiniteAmount()
           
 boolean hasRusted()
           
 boolean isAvailable()
           
 boolean isObsoleting()
           
 boolean isPermanent()
           
 boolean nextCanBeExchanged()
           
 void setAvailable(Bank bank)
           
 void setPermanent(boolean permanent)
           
 void setReleasedTrainTypes(java.util.List<TrainTypeI> releasedTrainTypes)
           
 void setRusted(Portfolio lastBuyingCompany)
           
 void setRustedTrainType(TrainTypeI rustedTrainType)
           
 
Methods inherited from interface rails.game.ConfigurableComponentI
configureFromXML, finishConfiguration
 

Method Detail

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()