|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrails.game.Round
rails.game.OperatingRound
rails.game.specific._1835.OperatingRound_1835
public class OperatingRound_1835
| Field Summary |
|---|
| 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_1835(GameManagerI gameManager)
|
|
| Method Summary | |
|---|---|
protected boolean |
canCompanyOperateThisRound(PublicCompanyI company)
Can a public company operate? (1835 special version) |
protected java.util.Map<CashHolder,java.lang.Integer> |
countSharesPerRecipient()
Count the number of shares per revenue recipient |
boolean |
discardTrain(DiscardTrain action)
|
protected java.util.List<LayTile> |
getSpecialTileLays(boolean display)
Create a List of allowed special tile lays (see LayTile class). |
protected void |
initTurn()
Register black minors as having operated for the purpose of denying income after conversion to a PR share |
boolean |
layTile(LayTile action)
|
protected void |
newPhaseChecks()
Stub |
protected void |
privatesPayOut()
|
void |
resume()
Generic stub to resume an interrupted round. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OperatingRound_1835(GameManagerI gameManager)
| Method Detail |
|---|
protected boolean canCompanyOperateThisRound(PublicCompanyI company)
canCompanyOperateThisRound in class Roundprotected void privatesPayOut()
privatesPayOut in class OperatingRoundprotected java.util.Map<CashHolder,java.lang.Integer> countSharesPerRecipient()
A special rule applies to 1835 to prevent black privates and minors providing income twice during an OR.
countSharesPerRecipient in class OperatingRoundprotected void initTurn()
initTurn in class OperatingRoundpublic void resume()
Round
resume in interface RoundIresume in class OperatingRoundprotected java.util.List<LayTile> getSpecialTileLays(boolean display)
OperatingRound
getSpecialTileLays in class OperatingRoundpublic boolean layTile(LayTile action)
layTile in class OperatingRoundprotected void newPhaseChecks()
OperatingRound
newPhaseChecks in class OperatingRoundpublic boolean discardTrain(DiscardTrain action)
discardTrain in class OperatingRound
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||