rails.game.specific._1835
Class PrussianFormationRound

java.lang.Object
  extended by rails.game.Round
      extended by rails.game.StockRound
          extended by 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
 
Constructor Summary
PrussianFormationRound(GameManagerI gameManager)
           
 
Method Summary
 boolean discardTrain(DiscardTrain action)
           
protected  boolean findNextMergingPlayer(boolean skipCurrentPlayer)
           
protected  void finishRound()
           
protected  boolean processGameSpecificAction(PossibleAction action)
           
static boolean prussianIsComplete(GameManagerI gameManager)
           
 boolean setPossibleActions()
          Default version, does nothing.
 void start()
           
 java.lang.String toString()
           
 
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
 

Field Detail

step

rails.game.specific._1835.PrussianFormationRound.Step step
Constructor Detail

PrussianFormationRound

public PrussianFormationRound(GameManagerI gameManager)
Method Detail

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