|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrails.game.GameManager
rails.game.specific._18EU.GameManager_18EU
public class GameManager_18EU
This class manages the playing rounds by supervising all implementations of Round. Currently everything is hardcoded à la 1830.
Field Summary | |
---|---|
protected State |
playerToStartFMERound
|
Constructor Summary | |
---|---|
GameManager_18EU()
|
Method Summary | |
---|---|
Player |
getPlayerToStartFMERound()
|
void |
nextRound(RoundI round)
Should be called by each Round when it finishes. |
protected void |
processBankruptcy()
|
void |
setPlayerToStartFMERound(Player playerToStartFMERound)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected State playerToStartFMERound
Constructor Detail |
---|
public GameManager_18EU()
Method Detail |
---|
public void nextRound(RoundI round)
GameManagerI
nextRound
in interface GameManagerI
nextRound
in class GameManager
round
- The object that represents the finishing round.public void setPlayerToStartFMERound(Player playerToStartFMERound)
public Player getPlayerToStartFMERound()
protected void processBankruptcy()
processBankruptcy
in class GameManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |