rails.game.specific._1889
Class OperatingRound_1889

java.lang.Object
  extended by rails.game.Round
      extended by rails.game.OperatingRound
          extended by rails.game.specific._1889.OperatingRound_1889
All Implemented Interfaces:
java.util.Observer, RoundI

public class OperatingRound_1889
extends OperatingRound

Adds specific code for 1889 to allow the special timing of the special tile laying private companies


Field Summary
 
Fields inherited from class rails.game.OperatingRound
actionPossible, companiesOperatedThisRound, currentNormalTokenLays, currentSpecialProperties, currentSpecialTokenLays, doneAllowed, excessTrainCompanies, loansThisRound, noMapMode, operatingCompanies, operatingCompany, savedAction, selectedAction, SPLIT_ROUND_DOWN, stepObject, steps, thisOrNumber, tileLaysPerColour, trainManager, trainsBoughtThisTurn
 
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
OperatingRound_1889(GameManagerI gameManager)
          Instantiates a new operating round_1889.
 
Method Summary
 boolean buyPrivate(BuyPrivate action)
           
 boolean layTile(LayTile action)
           
 boolean processGameSpecificAction(PossibleAction action)
          Stub, to be overridden in game-specific subclasses.
protected  void setGameSpecificPossibleActions()
          Stub, can be overridden by subclasses
 void skip()
           
 
Methods inherited from class rails.game.OperatingRound
areTileLaysPossible, buyBonusToken, buyTrain, calculateLoanAmount, canBuyTrainNow, checkForDeductions, checkForeignSales, checkForExcessTrains, checkNormalTileLay, countSharesPerRecipient, discardTrain, done, equals, executeClosePrivate, executeDeductions, executeOperatingCost, executeRepayLoans, executeSetRevenueAndDividend, executeTakeLoans, finishOR, finishTurn, finishTurnSpecials, gameSpecificNextStep, getBeneficiary, getHelp, getNormalTileLays, getOperatingCompanies, getOperatingCompany, getOperatingCompanyIndex, getPrivateMaximumPrice, getPrivateMinimumPrice, getRoundName, getSpecialProperties, getSpecialProperties, getSpecialTileLays, getStep, initNormalTileLays, initTurn, isBelowTrainLimit, isPrivateSellingAllowed, isTileLayAllowed, isTokenLayAllowed, layBaseToken, layBonusToken, maySellPrivate, newPhaseChecks, nextStep, nextStep, payLoanInterest, payout, prepareNoMapActions, prepareRevenueAndDividendAction, prepareStep, privatesPayOut, process, reachDestination, reachDestinations, registerNormalTileLay, repayLoans, resume, setBonusTokenLays, setBuyableTrains, setDestinationActions, setNextOperatingCompany, setNormalTokenLays, setOperatingCompany, setPossibleActions, setRevenueAndDividend, setSpecialTokenLays, setStep, setTrainsToDiscard, splitRevenue, start, takeLoans, toString, update, updateAllowedTileColours, validateNormalTileLay, validateRepayLoans, validateSetRevenueAndDividend, validateTakeLoans, withhold
 
Methods inherited from class rails.game.Round
canCompanyOperateThisRound, canRequestTurn, certCountsAsSold, checkFlotation, exchangeTokens, finishRound, floatCompany, getAutopasses, getCurrentPhase, getCurrentPlayer, getCurrentPlayerIndex, getGameManager, getGameOption, getGameParameter, getGameParameterAsBoolean, getGameParameterAsInt, getNumberOfActivePlayers, getNumberOfPlayers, getPlayers, getRoundTypeForUI, getSoldPercentage, hasAutopassed, pay, pay, requestTurn, setAutopass, setCanRequestTurn, setCurrentPlayer, setCurrentPlayerIndex, setOperatingCompanies, setOperatingCompanies, transferCertificate, transferCertificates, wasInterrupted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperatingRound_1889

public OperatingRound_1889(GameManagerI gameManager)
Instantiates a new operating round_1889.

Parameters:
gameManager - the game manager
Method Detail

setGameSpecificPossibleActions

protected void setGameSpecificPossibleActions()
Description copied from class: OperatingRound
Stub, can be overridden by subclasses

Overrides:
setGameSpecificPossibleActions in class OperatingRound

processGameSpecificAction

public boolean processGameSpecificAction(PossibleAction action)
Description copied from class: OperatingRound
Stub, to be overridden in game-specific subclasses.

Overrides:
processGameSpecificAction in class OperatingRound

buyPrivate

public boolean buyPrivate(BuyPrivate action)
Overrides:
buyPrivate in class OperatingRound

layTile

public boolean layTile(LayTile action)
Overrides:
layTile in class OperatingRound

skip

public void skip()
Overrides:
skip in class OperatingRound