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
DEFAULT_PRIORITY
static final SpecialPropertyI.Priority DEFAULT_PRIORITY
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