A B C D E G H I J L M N O P R S T U V W

R

randomGenerator - Variable in class pictionary.PictionaryGame
Used for getting a new random word.
receivedText - Variable in class pictionary.pictionaryclient.PictionaryClientGUI
The text area that contains received messages from the server and other clients.
receivedTextScrollPane - Variable in class pictionary.pictionaryclient.PictionaryClientGUI
The JScrollPane that PictionaryClientGUI.receivedText is attached to.
receiveThread - Variable in class pictionary.pictionaryclient.PictionaryClient.ServerConnection
The thread that received messages from the server.
receiveThread - Variable in class pictionary.pictionaryserver.PictionaryServer.ClientConnection
Takes care of receiving and forwarding messages from the client to the server.
reportScores(List<String>, List<Integer>) - Method in class pictionary.PictionaryPlayer
Reports the players' scores.
reportScores(List<String>, List<Integer>) - Method in class pictionary.pictionaryserver.PictionaryServer.ClientConnection
 
resetPlayers() - Method in class pictionary.PictionaryGame
Resets all players' scores and sets their status to PictionaryPlayer.WAITING_FOR_TURN.
restartServer(int) - Method in class pictionary.pictionaryserver.PictionaryServer
Starts the server again by creating a new ServerSocket and listener thread.
ROUND_FINISHED - Static variable in class pictionary.PictionaryGame
All players have drawn, a new round is about to start.
roundFinished() - Method in class pictionary.PictionaryGame
Sets status to PictionaryGame.ROUND_FINISHED and reports the scores to all the connected players.
run() - Method in class pictionary.pictionaryclient.PictionaryClient.ServerConnection.ReceiveThread
 
run() - Method in class pictionary.pictionaryclient.PictionaryClient.ServerConnection.SendThread
 
run() - Method in class pictionary.PictionaryGame.EndDrawTask
Calls PictionaryGame.nextAction() if we aren't supposed to skip it; sometimes a player's draw turn is interrupted and PictionaryGame.nextAction() is called when a guessing player makes a correct guess, but the timer is still ticking and we want to avoid calling PictionaryGame.nextAction() an extra time.
run() - Method in class pictionary.PictionaryGame.NextActionTask
 
run() - Method in class pictionary.pictionaryserver.PictionaryServer.ClientConnection.ReceiveThread
This is where ReceiveThread does all the work.
run() - Method in class pictionary.pictionaryserver.PictionaryServer.ClientConnection.SendThread
This is where SendThread does all the work.
run() - Method in class pictionary.pictionaryserver.PictionaryServer.ServerThread
Listens for and accepts new clients.
running - Variable in class pictionary.pictionaryserver.PictionaryServer
True if the server is running, else false.

A B C D E G H I J L M N O P R S T U V W