|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultiplayerGameFrame
This interface represents the MultiplayerGameFrame of the Remote Interface for the WordMoleClient.
| Method Summary | |
|---|---|
void |
disconnectPlayer(Client client)
Removes the client from the MultiplayerGameFrame window. |
void |
notifyWinner(Client winner)
Notifies the MultiplayerGameFrame of the winner and ends the current game. |
void |
startGame()
Begins the current Game. |
void |
updateScore(Client client,
int score)
Updates the client's score on the MultiplayerGameFrame |
| Method Detail |
|---|
void startGame()
throws java.rmi.RemoteException
java.rmi.RemoteException
void updateScore(Client client,
int score)
throws java.rmi.RemoteException
client - - Client - Client who needs updating.score - - int - Current client's score
java.rmi.RemoteException
void disconnectPlayer(Client client)
throws java.rmi.RemoteException
client - - Client - Client that disconnected.
java.rmi.RemoteException
void notifyWinner(Client winner)
throws java.rmi.RemoteException
winner - - Client - Winner of the game.
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||