|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Player
An interface for a poker player.
Method Summary | |
---|---|
Action |
getAction()
Requests an Action from the player Called when it is the Player's turn to act. |
void |
holeCards(Card c1,
Card c2,
int seat)
receive your hole cards |
void |
init(Preferences prefs)
Initialize your player from the given preferences file. |
Methods inherited from interface com.biotools.meerkat.GameObserver |
---|
actionEvent, dealHoleCardsEvent, gameOverEvent, gameStartEvent, gameStateChanged, showdownEvent, stageEvent, winEvent |
Method Detail |
---|
void init(Preferences prefs)
prefs
- some settings for the playervoid holeCards(Card c1, Card c2, int seat)
c1
- first hole cardc2
- second hole cardseat
- your seat number this gameAction getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |