|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stage
Interface for any one wanting to implement a different Poker game using ready-made PokerGame class
Method Summary | |
---|---|
int |
correspondingCase()
Integer for which case to run in the Switch in PokerGame method updateStage(int Stage) |
int |
index()
Function for transforming the stage into an integer for messages |
Stage |
indexToStage(int index)
Returns the Stage that this integer represents this is the inverse of index() |
Stage |
lessThanTwoPlayers()
Stage that should be run when there are one of less players still active Probably should correspond to case PokerGame.LESS_THAN_TWO_PLAYERS |
Stage |
next()
Returns the stage following the current stage |
int |
param()
Parameter concerning this stage, for stages with cards being dealt, the number of cards to deal |
Stage |
start()
Stage that should be run first |
Method Detail |
---|
int index()
int param()
int correspondingCase()
Stage next()
Stage lessThanTwoPlayers()
Stage start()
Stage indexToStage(int index)
index
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |