|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.ualberta.cs.poker.free.client.PokerClient
ca.ualberta.cs.poker.free.academy25.PokerAcademyClient
public class PokerAcademyClient
This class allows for a Player from PokerAcademy to be plugged in.
Field Summary |
---|
Fields inherited from class ca.ualberta.cs.poker.free.client.PokerClient |
---|
currentGameStateString |
Constructor Summary | |
---|---|
PokerAcademyClient(Player p)
Creates a new instance of PokerAcademyClient Pass a pointer to the player you want to use. |
Method Summary | |
---|---|
static Hand |
getHand(java.lang.String str)
Not sure why I can't just run new Hand(str), but this will work for now. |
void |
handleStateChange()
Called whenever the state is changed. |
Methods inherited from class ca.ualberta.cs.poker.free.client.PokerClient |
---|
close, connect, getClientID, isComplete, receiveMessage, run, sendAction, sendCall, sendFold, sendMessage, sendRaise, setVerbose, showVerbose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PokerAcademyClient(Player p)
Method Detail |
---|
public static Hand getHand(java.lang.String str)
public void handleStateChange() throws java.io.IOException, java.net.SocketException
handleStateChange
in class PokerClient
java.io.IOException
java.net.SocketException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |