|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PictionaryPlayer | |
---|---|
pictionary | |
pictionary.pictionaryserver |
Uses of PictionaryPlayer in pictionary |
---|
Fields in pictionary declared as PictionaryPlayer | |
---|---|
private PictionaryPlayer |
PictionaryGame.currentPlayer
The current player; the person who is drawing, is about to draw or was drawing. |
Fields in pictionary with type parameters of type PictionaryPlayer | |
---|---|
private java.util.ArrayList<PictionaryPlayer> |
PictionaryGame.newPlayers
The collection holding all the players waiting to join. |
private java.util.List<PictionaryPlayer> |
PictionaryGame.pictionaryPlayers
The collection of players currently playing (drawing or guessing). |
Methods in pictionary with parameters of type PictionaryPlayer | |
---|---|
void |
PictionaryGame.guessWord(PictionaryPlayer guessingPlayer,
java.lang.String word)
This method is called when a player wants to make a guess. |
void |
PictionaryGame.join(PictionaryPlayer player)
This method is called by the hosting server when it gets a join request from a client. |
boolean |
PictionaryGame.playerExists(PictionaryPlayer player)
This method is used to check whether a player is in the game or not. |
void |
PictionaryGame.playerLeft(PictionaryPlayer player)
Called by the hosting server when it gets a disconnect request, calling this method informs the game that a player wants to leave. |
private void |
PictionaryGame.tellPlayers(int event,
PictionaryPlayer exclude)
Alerts all players, except the excluded one, that an event has occurred. |
Uses of PictionaryPlayer in pictionary.pictionaryserver |
---|
Subclasses of PictionaryPlayer in pictionary.pictionaryserver | |
---|---|
private class |
PictionaryServer.ClientConnection
Handles communication with one client; there is one ClientConnection per connected client. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |