vooga.network.gamelobby
Class VoogaLobbyClientMessage
java.lang.Object
vooga.network.gamelobby.VoogaLobbyClientMessage
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- GameStartingNotification, LobbyClosedNotification, NewLobbyNotification, UserJoinedLobbyNotification, UserLeftLobbyNotification
public abstract class VoogaLobbyClientMessage
- extends java.lang.Object
- implements java.io.Serializable
A VoogaLobbyClientMessage is sent by the lobby server to a client, where it
calls the appropriate method on the receiver passed to it.
- Author:
- tschmidt
- See Also:
- Serialized Form
Constructor Summary |
VoogaLobbyClientMessage(long lobbyID,
java.lang.String lobbyName,
java.lang.String userName,
int playerNumber,
int numberOfPlayers)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myLobbyID
protected long myLobbyID
myLobbyName
protected java.lang.String myLobbyName
myUserName
protected java.lang.String myUserName
myPlayerNumber
protected int myPlayerNumber
myNumberOfPlayers
protected int myNumberOfPlayers
VoogaLobbyClientMessage
public VoogaLobbyClientMessage(long lobbyID,
java.lang.String lobbyName,
java.lang.String userName,
int playerNumber,
int numberOfPlayers)
execute
public abstract void execute(ILobbyInfoReceiver receiver)