|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrails.game.Round
rails.game.StartRound
rails.game.specific._1880.StartRound_1880
public class StartRound_1880
| Field Summary | |
|---|---|
(package private) PublicCompanyI |
companyNeedingPrice
A company in need for a par price. |
| Fields inherited from class rails.game.StartRound |
|---|
auctionItemState, currentPlayer, hasBasePrices, hasBidding, itemIndex, itemsToSell, numPasses, numPlayers, startPacket, startPlayer, variant |
| 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 | |
|---|---|
StartRound_1880(GameManagerI gameManager)
|
|
| Method Summary | |
|---|---|
protected boolean |
bid(java.lang.String playerName,
BidStartItem bidItem)
The current player bids on a given start item. |
java.lang.String |
getHelp()
|
protected boolean |
pass(java.lang.String playerName)
Process a player's pass. |
boolean |
setPossibleActions()
Default version, does nothing. |
void |
start()
Start the start round. |
| Methods inherited from class rails.game.StartRound |
|---|
assignItem, buy, checksOnBuying, finishRound, getBidModel, getBlockedCashModel, getCurrentPlayerIndex, getFreeCashModel, getMinimumBidModel, getStartItems, getStartPacket, hasBasePrices, hasBidding, process, setNextPlayer, setPlayer, setPriorityPlayer, startPacketChecks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
PublicCompanyI companyNeedingPrice
| Constructor Detail |
|---|
public StartRound_1880(GameManagerI gameManager)
gameManager - | Method Detail |
|---|
public void start()
StartRound
start in class StartRoundpublic boolean setPossibleActions()
Round
setPossibleActions in interface RoundIsetPossibleActions in class Round
protected boolean bid(java.lang.String playerName,
BidStartItem bidItem)
StartRound
bid in class StartRoundplayerName - The name of the current player (for checking purposes).protected boolean pass(java.lang.String playerName)
StartRound
pass in class StartRoundplayerName - The name of the current player (for checking purposes).public java.lang.String getHelp()
getHelp in interface RoundIgetHelp in class Round
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||