|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.asdf.plugins.pokergames.texasholdem.TexasHoldemStage
public class TexasHoldemStage
Nested Class Summary | |
---|---|
static class |
TexasHoldemStage.TexasHoldemEnumStage
|
Constructor Summary | |
---|---|
TexasHoldemStage()
|
|
TexasHoldemStage(TexasHoldemStage.TexasHoldemEnumStage stage)
|
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 |
com.asdf.plugins.pokergames.Stage |
indexToStage(int index)
Returns the Stage that this integer represents this is the inverse of index() |
static boolean |
isFlop(int stage)
|
static boolean |
isPreFlop(int stage)
|
static boolean |
isRiver(int stage)
|
static boolean |
isTurn(int stage)
|
com.asdf.plugins.pokergames.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 |
com.asdf.plugins.pokergames.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 |
com.asdf.plugins.pokergames.Stage |
start()
Stage that should be run first |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexasHoldemStage(TexasHoldemStage.TexasHoldemEnumStage stage)
public TexasHoldemStage()
Method Detail |
---|
public com.asdf.plugins.pokergames.Stage lessThanTwoPlayers()
com.asdf.plugins.pokergames.Stage
lessThanTwoPlayers
in interface com.asdf.plugins.pokergames.Stage
public int correspondingCase()
com.asdf.plugins.pokergames.Stage
correspondingCase
in interface com.asdf.plugins.pokergames.Stage
public int index()
com.asdf.plugins.pokergames.Stage
index
in interface com.asdf.plugins.pokergames.Stage
public com.asdf.plugins.pokergames.Stage next()
com.asdf.plugins.pokergames.Stage
next
in interface com.asdf.plugins.pokergames.Stage
public int param()
com.asdf.plugins.pokergames.Stage
param
in interface com.asdf.plugins.pokergames.Stage
public com.asdf.plugins.pokergames.Stage start()
com.asdf.plugins.pokergames.Stage
start
in interface com.asdf.plugins.pokergames.Stage
public static boolean isFlop(int stage)
public static boolean isPreFlop(int stage)
public static boolean isRiver(int stage)
public static boolean isTurn(int stage)
public com.asdf.plugins.pokergames.Stage indexToStage(int index)
com.asdf.plugins.pokergames.Stage
indexToStage
in interface com.asdf.plugins.pokergames.Stage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |