rails.game.specific._18TN
Class OperatingRound_18TN

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

public class OperatingRound_18TN
extends OperatingRound


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_18TN(GameManagerI gameManager)
           
 
Method Summary
 boolean buyPrivate(BuyPrivate action)
           
protected  int getPrivateMaximumPrice(PrivateCompanyI privComp)
           
protected  int getPrivateMinimumPrice(PrivateCompanyI privComp)
           
protected  boolean isPrivateSellingAllowed()
           
protected  boolean maySellPrivate(Player player)
           
 
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, getRoundName, getSpecialProperties, getSpecialProperties, getSpecialTileLays, getStep, initNormalTileLays, initTurn, isBelowTrainLimit, isTileLayAllowed, isTokenLayAllowed, layBaseToken, layBonusToken, layTile, newPhaseChecks, nextStep, nextStep, payLoanInterest, payout, prepareNoMapActions, prepareRevenueAndDividendAction, prepareStep, privatesPayOut, process, processGameSpecificAction, reachDestination, reachDestinations, registerNormalTileLay, repayLoans, resume, setBonusTokenLays, setBuyableTrains, setDestinationActions, setGameSpecificPossibleActions, setNextOperatingCompany, setNormalTokenLays, setOperatingCompany, setPossibleActions, setRevenueAndDividend, setSpecialTokenLays, setStep, setTrainsToDiscard, skip, 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_18TN

public OperatingRound_18TN(GameManagerI gameManager)
Method Detail

isPrivateSellingAllowed

protected boolean isPrivateSellingAllowed()
Overrides:
isPrivateSellingAllowed in class OperatingRound

getPrivateMinimumPrice

protected int getPrivateMinimumPrice(PrivateCompanyI privComp)
Overrides:
getPrivateMinimumPrice in class OperatingRound

getPrivateMaximumPrice

protected int getPrivateMaximumPrice(PrivateCompanyI privComp)
Overrides:
getPrivateMaximumPrice in class OperatingRound

maySellPrivate

protected boolean maySellPrivate(Player player)
Overrides:
maySellPrivate in class OperatingRound

buyPrivate

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