rails.game.special
Interface SpecialPropertyI

All Superinterfaces:
ConfigurableComponentI, Moveable
All Known Implementing Classes:
ExchangeForShare, LocatedBonus, NameTrains, SellBonusToken, SpecialProperty, SpecialTileLay, SpecialTokenLay, SpecialTrainBuy

public interface SpecialPropertyI
extends ConfigurableComponentI, Moveable


Nested Class Summary
static class SpecialPropertyI.Priority
           
 
Field Summary
static SpecialPropertyI.Priority DEFAULT_PRIORITY
           
 
Fields inherited from interface rails.game.move.Moveable
AT_END
 
Method Summary
 MoveableHolder getHolder()
           
 java.lang.String getInfo()
           
 java.lang.String getName()
           
 CompanyI getOriginalCompany()
           
 SpecialPropertyI.Priority getPriority()
           
 java.lang.String getTransferText()
           
 int getUniqueId()
           
 boolean isExecutionable()
           
 boolean isExercised()
           
 boolean isORProperty()
           
 boolean isSRProperty()
           
 boolean isUsableDuringOR()
           
 boolean isUsableDuringSR()
           
 boolean isUsableDuringTileLayingStep()
           
 boolean isUsableDuringTokenLayingStep()
           
 boolean isUsableIfOwnedByCompany()
           
 boolean isUsableIfOwnedByPlayer()
           
 void moveTo(MoveableHolder newHolder)
           
 void setCompany(CompanyI company)
           
 void setExercised()
           
 void setHolder(MoveableHolder holder)
           
 void setPriority(SpecialPropertyI.Priority priority)
           
 void setUsableDuringOR(boolean usableDuringOR)
           
 void setUsableDuringSR(boolean usableDuringSR)
           
 void setUsableDuringTileLayingStep(boolean usableDuringTileLayingStep)
           
 void setUsableDuringTokenLayingStep(boolean usableDuringTokenLayingStep)
           
 void setUsableIfOwnedByCompany(boolean usableIfOwnedByCompany)
           
 void setUsableIfOwnedByPlayer(boolean usableIfOwnedByPlayer)
           
 java.lang.String toMenu()
           
 
Methods inherited from interface rails.game.ConfigurableComponentI
configureFromXML, finishConfiguration
 

Field Detail

DEFAULT_PRIORITY

static final SpecialPropertyI.Priority DEFAULT_PRIORITY
Method Detail

setCompany

void setCompany(CompanyI company)

getOriginalCompany

CompanyI getOriginalCompany()

setHolder

void setHolder(MoveableHolder holder)

getHolder

MoveableHolder getHolder()
Specified by:
getHolder in interface Moveable

isExecutionable

boolean isExecutionable()

isUsableIfOwnedByCompany

boolean isUsableIfOwnedByCompany()

setUsableIfOwnedByCompany

void setUsableIfOwnedByCompany(boolean usableIfOwnedByCompany)

isUsableIfOwnedByPlayer

boolean isUsableIfOwnedByPlayer()

setUsableIfOwnedByPlayer

void setUsableIfOwnedByPlayer(boolean usableIfOwnedByPlayer)

isUsableDuringOR

boolean isUsableDuringOR()

setUsableDuringOR

void setUsableDuringOR(boolean usableDuringOR)

isUsableDuringSR

boolean isUsableDuringSR()

setUsableDuringSR

void setUsableDuringSR(boolean usableDuringSR)

isUsableDuringTileLayingStep

boolean isUsableDuringTileLayingStep()

setUsableDuringTileLayingStep

void setUsableDuringTileLayingStep(boolean usableDuringTileLayingStep)

isUsableDuringTokenLayingStep

boolean isUsableDuringTokenLayingStep()

setUsableDuringTokenLayingStep

void setUsableDuringTokenLayingStep(boolean usableDuringTokenLayingStep)

setExercised

void setExercised()

isExercised

boolean isExercised()

isSRProperty

boolean isSRProperty()

isORProperty

boolean isORProperty()

getTransferText

java.lang.String getTransferText()

getPriority

SpecialPropertyI.Priority getPriority()

setPriority

void setPriority(SpecialPropertyI.Priority priority)

getUniqueId

int getUniqueId()

toMenu

java.lang.String toMenu()

getName

java.lang.String getName()
Specified by:
getName in interface Moveable

getInfo

java.lang.String getInfo()

moveTo

void moveTo(MoveableHolder newHolder)
Specified by:
moveTo in interface Moveable