C# Class PushFrenzy.Server.HostedGame

Mostra file Open project: paulbatum/PushFrenzy Class Usage Examples

Public Methods

Method Description
Disconnect ( GameConnection connection ) : void
HostedGame ( GameConfiguration config ) : System
ProcessCommand ( GameCommand command ) : void
TryAddPlayer ( GameService client, string name ) : GameConnection

Private Methods

Method Description
DispatchMessages ( JsonMessageLog log ) : void
StartGame ( ) : void

Method Details

Disconnect() public method

public Disconnect ( GameConnection connection ) : void
connection GameConnection
return void

HostedGame() public method

public HostedGame ( GameConfiguration config ) : System
config PushFrenzy.Rules.GameConfiguration
return System

ProcessCommand() public method

public ProcessCommand ( GameCommand command ) : void
command PushFrenzy.Rules.GameCommand
return void

TryAddPlayer() public method

public TryAddPlayer ( GameService client, string name ) : GameConnection
client GameService
name string
return GameConnection