rails.game.action
Class PossibleORAction
java.lang.Object
rails.game.action.PossibleAction
rails.game.action.PossibleORAction
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BuyBonusToken, BuyPrivate, BuyTrain, DiscardTrain, ExchangeTokens, LayTile, LayToken, OperatingCost, ReachDestinations, SetDividend, TakeLoans, UseSpecialProperty
public abstract class PossibleORAction
- extends PossibleAction
PossibleAction is the superclass of all classes that describe an allowed user
action (such as laying a tile or dropping a token on a specific hex, buying a
train etc.).
- Author:
- Erik Vos
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
company
protected transient PublicCompanyI company
companyName
protected java.lang.String companyName
PossibleORAction
public PossibleORAction()
getCompany
public PublicCompanyI getCompany()
getCompanyName
public java.lang.String getCompanyName()
setCompany
public void setCompany(PublicCompanyI company)
- To be used in the client (to enable safety check in the server)