C# Class FBClient.Network.NetworkGameManager

This class is specificaly used for the logic of network games
Inheritance: FBClient.Core.GameManager
Mostra file Open project: Noxalus/Final-Bomber Class Usage Examples

Public Methods

Method Description
AddClient ( Client client ) : void
AddPlayers ( ) : void
Dispose ( ) : void
GetClientFromId ( int clientId ) : Client
GetClientFromPlayer ( Player player ) : Client
GetPlayerFromClientId ( int clientId ) : Player
Initialize ( ) : void
LoadContent ( ) : void
NetworkGameManager ( ) : FBClient.Core
RoundEndAction ( ) : void
Update ( ) : void

Method Details

AddClient() public method

public AddClient ( Client client ) : void
client Client
return void

AddPlayers() public method

public AddPlayers ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetClientFromId() public method

public GetClientFromId ( int clientId ) : Client
clientId int
return Client

GetClientFromPlayer() public method

public GetClientFromPlayer ( Player player ) : Client
player Player
return Client

GetPlayerFromClientId() public method

public GetPlayerFromClientId ( int clientId ) : Player
clientId int
return Player

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() public method

public LoadContent ( ) : void
return void

NetworkGameManager() public method

public NetworkGameManager ( ) : FBClient.Core
return FBClient.Core

RoundEndAction() public method

public RoundEndAction ( ) : void
return void

Update() public method

public Update ( ) : void
return void