Property | Type | Description | |
---|---|---|---|
userDisplayPanels | CustomArrayList |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddMessageToLog ( String message ) : void |
Adds a message to the log.
|
|
GameLobby ( ) : System | ||
GetDisplayPanel ( int index ) : |
Gets a user display panel by index.
|
|
GetDisplayPanelByUserId ( int userID ) : |
Gets a display panel by user ID.
|
|
GetDisplayPanelCount ( ) : int |
Gets the amount of display panels in this lobby.
|
|
GetDisplayPanelIndexByUserID ( int userID ) : int |
Gets the index of a dispaly panel by user.
|
|
IsCurrentUserHost ( ) : System.Boolean |
Checks whether the current user is host or not.
|
|
IsFull ( ) : System.Boolean |
Whether the game is full or not.
|
|
LeaveGame ( |
Leave the game.
|
|
OnKeyPressed ( XNAInputLibrary.KeyboardInput.KeyEvent e ) : void |
User pressed a key in the message textfield.
|
|
StartGame ( |
Pressed the start game button!
|
|
UserExists ( SocketLibrary.Users.User user ) : System.Boolean |
Checks whether the user exists in this lobby.
|
|
UserExists ( int userID ) : System.Boolean |
Checks whether the user exists in this lobby.
|
|
UserJoined ( SocketLibrary.Users.User user ) : void |
When a player joined, call this one.
|
|
UserLeft ( SocketLibrary.Users.User user ) : void |
Call this when a player left.
|
public AddMessageToLog ( String message ) : void | ||
message | String | The message to add |
return | void |
public GetDisplayPanel ( int index ) : |
||
index | int | The index to get. |
return |
public GetDisplayPanelByUserId ( int userID ) : |
||
userID | int | The user ID to get the panel from. |
return |
public GetDisplayPanelIndexByUserID ( int userID ) : int | ||
userID | int | The user id |
return | int |
public IsCurrentUserHost ( ) : System.Boolean | ||
return | System.Boolean |
public LeaveGame ( |
||
source | The button source | |
return | void |
public OnKeyPressed ( XNAInputLibrary.KeyboardInput.KeyEvent e ) : void | ||
e | XNAInputLibrary.KeyboardInput.KeyEvent | The event |
return | void |
public StartGame ( |
||
source | ||
return | void |
public UserExists ( SocketLibrary.Users.User user ) : System.Boolean | ||
user | SocketLibrary.Users.User | The user to check |
return | System.Boolean |
public UserExists ( int userID ) : System.Boolean | ||
userID | int | |
return | System.Boolean |
public UserJoined ( SocketLibrary.Users.User user ) : void | ||
user | SocketLibrary.Users.User | The user that joined. |
return | void |
public UserLeft ( SocketLibrary.Users.User user ) : void | ||
user | SocketLibrary.Users.User | The user that left. |
return | void |