rails.game.specific._1835
Class PrussianFormationRound
java.lang.Object
rails.game.Round
rails.game.StockRound
rails.game.specific._1835.PrussianFormationRound
- All Implemented Interfaces:
- RoundI
public class PrussianFormationRound
- extends StockRound
Field Summary |
(package private) rails.game.specific._1835.PrussianFormationRound.Step |
step
|
Fields inherited from class rails.game.StockRound |
BOUGHT, companyBoughtThisTurnWrapper, currentPlayer, hasActed, hasSoldThisTurnBeforeBuying, numberOfPlayers, numPasses, playersThatSoldThisRound, SELL_BUY, SELL_BUY_OR_BUY_SELL, SELL_BUY_SELL, sellObligationLifted, sellPrices, sequenceRule, SOLD, startingPlayer |
Fields inherited from class rails.game.Round |
autopasses, bank, canRequestTurn, companyManager, gameManager, guiHints, hasRequestedTurn, ipo, log, mapManager, moveStack, playerManager, pool, possibleActions, scrapHeap, stockMarket, unavailable, wasInterrupted |
Methods inherited from class rails.game.StockRound |
adjustSharePrice, buyShares, checkAgainstHoldLimit, done, executeExchangeForShare, executeShareTransfer, finishTurn, gameSpecificChecks, getBuyPrice, getCurrentPlayerIndex, getCurrentSellPrice, getHelp, getRoundName, getSharePriceRecipient, getStockRoundNumber, initPlayer, isPlayerOverLimits, isPlayerOverLimitsDetail, isSaleRecorded, isSellObligationLifted, maxAllowedNumberOfSharesToBuy, mayCurrentPlayerBuyAnything, mayCurrentPlayerSellAnything, mayPlayerBuyCertificate, mayPlayerSellShareOfCompany, noSaleIfNotOperated, noSaleInFirstSR, process, recordSale, releaseCompanyShares, requestTurn, sellShares, setBuyableCerts, setCurrentPlayer, setGameSpecificActions, setNextPlayer, setPriority, setSellableShares, setSellObligationLifted, setSpecialActions, startCompany, useSpecialProperty |
Methods inherited from class rails.game.Round |
canCompanyOperateThisRound, canRequestTurn, certCountsAsSold, checkFlotation, exchangeTokens, floatCompany, getAutopasses, getCurrentPhase, getCurrentPlayer, getGameManager, getGameOption, getGameParameter, getGameParameterAsBoolean, getGameParameterAsInt, getNumberOfActivePlayers, getNumberOfPlayers, getPlayers, getRoundTypeForUI, getSoldPercentage, getSpecialProperties, hasAutopassed, pay, pay, requestTurn, resume, setAutopass, setCanRequestTurn, setCurrentPlayerIndex, setOperatingCompanies, setOperatingCompanies, transferCertificate, transferCertificates, wasInterrupted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
step
rails.game.specific._1835.PrussianFormationRound.Step step
PrussianFormationRound
public PrussianFormationRound(GameManagerI gameManager)
start
public void start()
- Overrides:
start
in class StockRound
setPossibleActions
public boolean setPossibleActions()
- Description copied from class:
Round
- Default version, does nothing. Subclasses should override this method
with a real version.
- Specified by:
setPossibleActions
in interface RoundI
- Overrides:
setPossibleActions
in class StockRound
processGameSpecificAction
protected boolean processGameSpecificAction(PossibleAction action)
- Overrides:
processGameSpecificAction
in class StockRound
findNextMergingPlayer
protected boolean findNextMergingPlayer(boolean skipCurrentPlayer)
discardTrain
public boolean discardTrain(DiscardTrain action)
finishRound
protected void finishRound()
- Overrides:
finishRound
in class StockRound
prussianIsComplete
public static boolean prussianIsComplete(GameManagerI gameManager)
toString
public java.lang.String toString()
- Overrides:
toString
in class StockRound