rails.game.specific._1825
Class PublicCompany_1825

java.lang.Object
  extended by rails.game.Company
      extended by rails.game.PublicCompany
          extended by rails.game.specific._1825.PublicCompany_1825
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<Company>, CashHolder, CompanyI, ConfigurableComponentI, MoveableHolder, PublicCompanyI, TokenHolder

public class PublicCompany_1825
extends PublicCompany


Field Summary
protected  IntegerState formationOrderIndex
           
 
Fields inherited from class rails.game.PublicCompany
allBaseTokens, bank, BASE_COST_DISTANCE, BASE_COST_SEQUENCE, baseTokenLayCost, baseTokenLayCostMethod, baseTokensBuyCost, baseTokensModel, bgColour, bgHexColour, bonuses, bonusValue, buyable, canBeRestarted, canBuyPrivates, canBuyStock, canClose, canHoldOwnShares, canSharePriceVary, canUseSpecialProperties, capitalisation, certificates, currentLoanValue, currentNumberOfLoans, currentPrice, DEFAULT_SHARE_UNIT, destinationHex, destinationHexName, extraTileLays, extraTiles, fgColour, fgHexColour, fixedPrice, floatPerc, freeBaseTokens, gameManager, hasFloated, hasOperated, hasParPrice, hasReachedDestination, hasStarted, hasStockPrice, homeAllCitiesBlocked, homeBaseTokensLayTime, homeCityNumber, homeHexes, homeHexNames, inGameState, initialTrainCost, initialTrainTradeable, initialTrainType, ipoPaysOut, laidBaseTokens, lastRevenue, lastRevenueAllocation, loanInterestPct, lowerPrivatePriceFactor, mapManager, maxLoansPerRound, maxNumberOfLoans, maxPercOfOwnShares, mayTradeShares, mustHaveOperatedToTradeShares, mustOwnATrain, mustTradeTrainsAtFixedPrice, numberOfBaseTokens, numberOfPublicCompanies, parPrice, payoutMustExceedPriceToMove, poolPaysOut, presidentModel, privatesCostThisTurn, privateToCloseOnFirstTrain, privateToCloseOnFirstTrainName, publicNumber, sharePriceUpOnFloating, shareUnit, shareUnitsForSharePrice, splitAllowed, splitAlways, START_OF_FIRST_OR, startSpace, stockMarket, tilesCostThisTurn, tilesLaidThisTurn, tokenLayTimeNames, tokensCostThisTurn, tokensLaidThisTurn, trainLimit, trainsCostThisTurn, treasury, treasuryPaysOut, turnsWithExtraTileLays, turnsWithExtraTileLaysInit, upperPrivatePriceFactor, valuePerLoan, WHEN_FLOATED, WHEN_STARTED
 
Fields inherited from class rails.game.Company
alias, certLimitCount, closedObject, companyNumber, infoText, log, longName, name, parentInfoText, portfolio, specialProperties, type, value
 
Fields inherited from interface rails.game.PublicCompanyI
CAPITALISE_FULL, CAPITALISE_INCREMENTAL, CAPITALISE_WHEN_BOUGHT
 
Fields inherited from interface rails.game.CompanyI
COMPANY_ELEMENT_ID, COMPANY_NAME_TAG, COMPANY_TYPE_TAG
 
Constructor Summary
PublicCompany_1825()
           
 
Method Summary
 int getFormationOrderIndex()
           
 void payout(int amount)
          Determine if the price token must be moved after a dividend payout.
 void setFloated()
          Float the company, put its initial cash in the treasury.
 void setFormationOrderIndex(int formationOrderIndex)
           
 void start(StockSpaceI startSpace)
          Start the company.
 
Methods inherited from class rails.game.PublicCompany
addBonus, addCash, addCertificate, addLoans, addObject, addToken, buyPrivate, buyTrain, canBuyPrivates, canBuyStock, canClose, canHoldOwnShares, canLoan, canRunTrains, canSharePriceVary, canUseSpecialProperties, checkPresidency, checkPresidencyOnBuy, checkPresidencyOnSale, clone, configureFromXML, finishConfiguration, getBaseTokenLayCost, getBaseTokenLayCosts, getBaseTokensBuyCost, getBaseTokensModel, getBgColour, getBonuses, getBonusTokensModel, getCapitalisation, getCash, getCashModel, getCertificates, getCurrentLoanValue, getCurrentNumberOfLoans, getCurrentPriceModel, getCurrentSpace, getCurrentTrainLimit, getDestinationHex, getExtraShareMarks, getFgColour, getFixedPrice, getFloatPercentage, getFormattedCash, getFreeToken, getGameEndPrice, getHexBgColour, getHexFgColour, getHomeCityNumber, getHomeHexes, getInGameModel, getIPOPrice, getIsClosedModel, getLastRevenue, getLastRevenueAllocationModel, getlastRevenueAllocationText, getLastRevenueModel, getListIndex, getLoanInterestPct, getLoanValueModel, getMarketPrice, getMaxLoansPerRound, getMaxNumberOfLoans, getNumberOfBaseTokens, getNumberOfFreeBaseTokens, getNumberOfLaidBaseTokens, getNumberOfShares, getNumberOfTileLays, getNumberOfTrains, getParPriceModel, getPresident, getPresidentModel, getPresidentsShare, getPrivatesSpentThisTurnModel, getPublicNumber, getShareUnit, getShareUnitsForSharePrice, getStartSpace, getTilesCostThisTurnModel, getTilesLaidThisTurnModel, getTokens, getTokensCostThisTurnModel, getTokensLaidThisTurnModel, getTrainLimit, getTrainsSpentThisTurnModel, getValuePerLoan, hasDestination, hasFloated, hasLaidHomeBaseTokens, hasOperated, hasParPrice, hasReachedDestination, hasStarted, hasStockPrice, hasTokens, init, initTurn, isAvailable, isBuyable, isHomeBlockedForAllCities, isSoldOut, isSplitAllowed, isSplitAlways, layBaseToken, layBaseTokenInNoMapMode, layHomeBaseTokens, layTile, layTileInNoMapMode, mayBuyTrainType, mayTradeShares, mustHaveOperatedToTradeShares, mustOwnATrain, mustTradeTrainsAtFixedPrice, nameCertificates, paysOutToTreasury, reinitialise, removeBonus, removeBonus, removeObject, removeToken, setBuyable, setCapitalisation, setCertificates, setClosed, setCurrentSpace, setHomeCityNumber, setHomeHex, setIndex, setLastRevenue, setLastRevenueAllocation, setOperated, setParSpace, setReachedDestination, sharesOwnedByPlayers, start, start, toString, transferAssetsFrom, updatePlayersWorth, withhold
 
Methods inherited from class rails.game.Company
addToken, compareTo, equals, getAlias, getCertLimitCount, getCompanyNumber, getHolder, getInfoText, getLongName, getName, getNumber, getPortfolio, getSpecialProperties, getType, getTypeName, getValue, hasSpecialProperties, isClosed, joinNamesWithDelimiter, setCertLimitCount, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface rails.game.CompanyI
equals, getAlias, getCertLimitCount, getCompanyNumber, getInfoText, getLongName, getName, getPortfolio, getSpecialProperties, getType, getTypeName, getValue, hasSpecialProperties, isClosed, setCertLimitCount, setValue
 
Methods inherited from interface rails.game.CashHolder
getName
 
Methods inherited from interface rails.game.TokenHolder
getName
 

Field Detail

formationOrderIndex

protected IntegerState formationOrderIndex
Constructor Detail

PublicCompany_1825

public PublicCompany_1825()
Method Detail

start

public void start(StockSpaceI startSpace)
Description copied from interface: PublicCompanyI
Start the company.

Specified by:
start in interface PublicCompanyI
Overrides:
start in class PublicCompany

getFormationOrderIndex

public int getFormationOrderIndex()

setFormationOrderIndex

public void setFormationOrderIndex(int formationOrderIndex)

payout

public void payout(int amount)
Description copied from class: PublicCompany
Determine if the price token must be moved after a dividend payout.

Specified by:
payout in interface PublicCompanyI
Overrides:
payout in class PublicCompany

setFloated

public void setFloated()
Description copied from class: PublicCompany
Float the company, put its initial cash in the treasury.

Specified by:
setFloated in interface PublicCompanyI
Overrides:
setFloated in class PublicCompany