|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colossus.server.GameServerSide.GamePhaseAdvancer
class GameServerSide.GamePhaseAdvancer
Wrap the complexity of phase advancing.
Constructor Summary | |
---|---|
GameServerSide.GamePhaseAdvancer()
|
Method Summary | |
---|---|
void |
advancePhase()
Advance to the next phase, only if the passed oldPhase and playerName are current. |
void |
advancePhaseInternal()
Advance to the next phase, with no error checking. |
void |
advanceTurn()
Make the next player being the activePlayer, and set phase to Split. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
GameServerSide.GamePhaseAdvancer()
Method Detail |
---|
public void advancePhase()
advancePhase
in interface PhaseAdvancer
public void advancePhaseInternal()
advancePhaseInternal
in interface PhaseAdvancer
public void advanceTurn()
advanceTurn
in interface PhaseAdvancer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |