|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrails.game.Round
rails.game.StockRound
rails.game.specific._1880.StockRound_1880
public class StockRound_1880
| Field Summary |
|---|
| 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 | |
|---|---|
StockRound_1880(GameManagerI aGameManager)
Constructor with the GameManager, will call super class (StockRound's) Constructor to initialize |
|
| Method Summary | |
|---|---|
protected void |
adjustSharePrice(PublicCompanyI company,
int numberSold,
boolean soldBefore)
Share price goes down 1 space for any number of shares sold. |
protected int |
getCurrentSellPrice(PublicCompanyI company)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StockRound_1880(GameManagerI aGameManager)
aGameManager - The GameManager Object needed to initialize the Stock Round| Method Detail |
|---|
protected int getCurrentSellPrice(PublicCompanyI company)
getCurrentSellPrice in class StockRound
protected void adjustSharePrice(PublicCompanyI company,
int numberSold,
boolean soldBefore)
adjustSharePrice in class StockRound
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||