|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILobbyInfoReceiver
This interface should be implemented by classes that want to receive updates
from the server concerning lobby activity via a VoogaLobbyClient
.
Method Summary | |
---|---|
void |
receiveGameStarting(long lobbyID,
int playerNumber,
int numberOfPlayers)
Perform the appropriate action for starting the game. |
void |
receiveLobbyClosed(long lobbyID)
Perform the appropriate action when a game session lobby has closed. |
void |
receiveNewLobby(long lobbyID,
java.lang.String lobbyName)
Perform the appropriate action when a new game session lobby has been opened. |
void |
receiveUserJoinedLobby(long lobbyID,
java.lang.String userName)
Perform the appropriate action when a user has joined a game session lobby. |
void |
receiveUserLeftLobby(long lobbyID,
java.lang.String userName)
Perform the appropriate action when a user has left a game session lobby. |
Method Detail |
---|
void receiveNewLobby(long lobbyID, java.lang.String lobbyName)
lobbyID
- lobbyName
- void receiveLobbyClosed(long lobbyID)
lobbyID
- void receiveUserJoinedLobby(long lobbyID, java.lang.String userName)
lobbyID
- - the ID of the lobby the user has joined.userName
- void receiveUserLeftLobby(long lobbyID, java.lang.String userName)
lobbyID
- userName
- void receiveGameStarting(long lobbyID, int playerNumber, int numberOfPlayers)
lobbyID
- - the ID of the lobby from which the game is startingplayerNumber
- - the player number for this playernumberOfPlayers
- - the total number of human players
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |