C# Class PushFrenzy.Server.HostedGame

Afficher le fichier Open project: paulbatum/PushFrenzy Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
DispatchMessages ( JsonMessageLog log ) : void
StartGame ( ) : void

Method Details

Disconnect() public méthode

public Disconnect ( GameConnection connection ) : void
connection GameConnection
Résultat void

HostedGame() public méthode

public HostedGame ( GameConfiguration config ) : System
config PushFrenzy.Rules.GameConfiguration
Résultat System

ProcessCommand() public méthode

public ProcessCommand ( GameCommand command ) : void
command PushFrenzy.Rules.GameCommand
Résultat void

TryAddPlayer() public méthode

public TryAddPlayer ( GameService client, string name ) : GameConnection
client GameService
name string
Résultat GameConnection