|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IF_SetGameStorageTH
This interface specifies all for Texas Holdem needed methods and extends the game independent methods by extending abstract interface IF_SetGameStorage
Method Summary | |
---|---|
void |
setEndHand(int finalpot,
int[] cashDelta,
Card[][] enemyCards)
Stores information of the ending hand (winner, revealed holeCards, ...). |
void |
setEndRound(long timestamp,
java.util.ArrayList<Action> betHistory,
Card[] revealedBoardCards)
Stores information of the ending round. |
void |
setHand(int[] position,
int sb,
int bb,
int ante,
int[] cashInit,
Card[] holeCards)
Stores information of the started hand. |
Methods inherited from interface game.gamestorage.IF_SetGameStorage |
---|
setEndCompetition, setGetGamedef, setStartCompetition |
Method Detail |
---|
void setHand(int[] position, int sb, int bb, int ante, int[] cashInit, Card[] holeCards)
position
- Position of the player in this hand
(0: first player behind the button; 1: second player behind the button; ...) - exact position at tablesb
- - smallblindbb
- - bigblindante
- - forced bet for all playerscashInit
- - starting credits of every playerholeCards
- - my holeCards as Card[]void setEndRound(long timestamp, java.util.ArrayList<Action> betHistory, Card[] revealedBoardCards)
timestamp
- as unix timestampbetHistory
- - all bets of this roundrevealedBoardCards
- (if revealed)void setEndHand(int finalpot, int[] cashDelta, Card[][] enemyCards)
finalpot
- - total at the end of the handcashDelta
- of every player: moneyBefore-moneyAfterenemyCards
- - if cards were shown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |