|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Client | |
|---|---|
| game.multiplayer | |
| game.multiplayer.components | |
| game.multiplayer.components.invitation | |
| game.multiplayer.containers | |
| game.multiplayer.game | |
| game.multiplayer.invitation | |
| server | |
| Uses of Client in game.multiplayer |
|---|
| Methods in game.multiplayer that return Client | |
|---|---|
Client |
WordMoleClientImpl.getClient()
Returns this client. |
| Methods in game.multiplayer with parameters of type Client | |
|---|---|
void |
MultiplayerGameFrameImpl.disconnectPlayer(Client player)
|
void |
MultiplayerGameFrame.disconnectPlayer(Client client)
Removes the client from the MultiplayerGameFrame window. |
void |
MultiplayerGameFrameImpl.notifyWinner(Client winner)
|
void |
MultiplayerGameFrame.notifyWinner(Client winner)
Notifies the MultiplayerGameFrame of the winner and ends the current game. |
void |
WordMoleClientImpl.receiveInviteDecision(Client client,
boolean decision)
|
void |
WordMoleClient.receiveInviteDecision(Client client,
boolean decision)
The WordMoleClient as a host of an Invite receives a decision from one of the invitees. |
void |
WordMoleClientImpl.updateClientList(Client[] clients)
|
void |
WordMoleClient.updateClientList(Client[] clients)
Updates the WordMoleClient's playerList to display the current other players states. |
void |
MultiplayerGameFrameImpl.updateScore(Client player,
int score)
|
void |
MultiplayerGameFrame.updateScore(Client client,
int score)
Updates the client's score on the MultiplayerGameFrame |
| Constructors in game.multiplayer with parameters of type Client | |
|---|---|
MultiplayerGameFrameImpl(java.awt.Point location,
DictionaryTree dt,
Game game,
Client myClient)
Constructs a MultiplayerGameFrame |
|
| Uses of Client in game.multiplayer.components |
|---|
| Methods in game.multiplayer.components that return Client | |
|---|---|
Client[] |
WordMoleClientList.getSelectedValues()
|
| Methods in game.multiplayer.components with parameters of type Client | |
|---|---|
void |
WordMoleClientList.update(Client[] clients)
Updates the list based on new Clientelle |
| Uses of Client in game.multiplayer.components.invitation |
|---|
| Methods in game.multiplayer.components.invitation with parameters of type Client | |
|---|---|
void |
HostInvitationWindow.updateList(Client player,
boolean accept)
Updates the list of invitees based on if they accept or decline. |
| Uses of Client in game.multiplayer.containers |
|---|
| Methods in game.multiplayer.containers that return Client | |
|---|---|
Client |
Invite.getHost()
Returns the host of the Invite. |
Client[] |
Invite.getInvitees()
Returns the invitees. |
Client[] |
Game.getPlayers()
Gets the game players. |
| Constructors in game.multiplayer.containers with parameters of type Client | |
|---|---|
Game(Client[] players)
Constructor |
|
Invite(Client host,
Client[] invitees)
Constructor |
|
Invite(Client host,
Client[] invitees)
Constructor |
|
| Uses of Client in game.multiplayer.game |
|---|
| Methods in game.multiplayer.game with parameters of type Client | |
|---|---|
void |
GameImpl.register(Client client,
MultiplayerGameFrame mult,
boolean connected)
|
void |
Game.register(Client client,
MultiplayerGameFrame mult,
boolean connected)
Registers a client that joins or leaves the Game. |
void |
GameImpl.removePlayer(Client client)
Removes a player from the game. |
void |
GameImpl.sendWinner(Client winner)
|
void |
GameImpl.update(Client client,
int score)
Updates the client's score |
void |
GameImpl.updateScore(Client client,
int score)
|
void |
Game.updateScore(Client client,
int score)
Updates the score of a client. |
void |
GameImpl.winGame(Client winner)
|
void |
Game.winGame(Client winner)
Ends the Game and notifies the clients of the winner. |
| Uses of Client in game.multiplayer.invitation |
|---|
| Methods in game.multiplayer.invitation with parameters of type Client | |
|---|---|
void |
InvitationImpl.makeDecision(Client client,
boolean decision)
|
void |
Invitation.makeDecision(Client client,
boolean decision)
Notifies the host of the decision that an invited client has made to either accept of decline. |
| Uses of Client in server |
|---|
| Methods in server that return Client | |
|---|---|
Client[] |
WordMoleClientList.clients()
|
Client |
WordMoleClientList.get(WordMoleClient client)
Returns the Client with WordMoleClient. |
| Methods in server with parameters of type Client | |
|---|---|
void |
WordMoleClientList.add(WordMoleClient client,
Client name)
Adds a WordMoleClient with username to the list. |
WordMoleClient |
WordMoleClientList.get(Client client)
Returns the WordMoleClient with client. |
WordMoleClient |
WordMoleServerImpl.getClient(Client client)
Returns the WordMoleClient associated with the username. |
void |
WordMoleServerImpl.postMessage(Client sender,
java.lang.String message)
|
void |
WordMoleServer.postMessage(Client sender,
java.lang.String message)
Sends a message to all of the clients connected. |
void |
WordMoleServerImpl.register(Client name,
boolean connected)
|
void |
WordMoleServerImpl.register(WordMoleClient client,
Client name,
boolean connected)
|
void |
WordMoleServer.register(WordMoleClient client,
Client name,
boolean connected)
Registers a WordMoleClient with the WordMoleServer |
void |
WordMoleClientList.remove(Client client)
Removes a WordMoleClient from the system. |
void |
WordMoleServerImpl.reregister(Client client)
|
void |
WordMoleServer.reregister(Client name)
Reconnects a client from a game to the lobby. |
void |
WordMoleServerImpl.sendClient(Client[] clients)
Sends out the clients to update the playerList on the WordMoleClient |
void |
WordMoleServerImpl.sendMessage(Client sender,
java.lang.String message)
Sends the message to everyone that is connected. |
boolean |
WordMoleClientList.update(Client client)
Updates the client in the List |
void |
WordMoleServerImpl.updateClient(Client client)
|
| Constructors in server with parameters of type Client | |
|---|---|
WordMoleClientList(WordMoleClient client,
Client name)
Constructor |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||