C# Class PushFrenzy.Server.JsonMessageLog

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

Méthodes publiques

Méthode Description
AddPiece ( Slot slot ) : void
AddPlayer ( Player player ) : void
JsonMessageLog ( ) : System
MovePiece ( Slot origin, Slot destination ) : void
MovePlayer ( Player player, Slot slot ) : void
RemovePiece ( Slot slot ) : void
RemovePlayer ( Player player ) : void
StartGame ( Game game ) : void
UpdateScores ( Game game ) : void
UpdateSweep ( Sweep sweep ) : void

Private Methods

Méthode Description
BuildGameMessageJson ( GameMessageType messageType, Action applyValues ) : System.Json.JsonObject

Method Details

AddPiece() public méthode

public AddPiece ( Slot slot ) : void
slot PushFrenzy.Rules.Slot
Résultat void

AddPlayer() public méthode

public AddPlayer ( Player player ) : void
player PushFrenzy.Rules.Player
Résultat void

JsonMessageLog() public méthode

public JsonMessageLog ( ) : System
Résultat System

MovePiece() public méthode

public MovePiece ( Slot origin, Slot destination ) : void
origin PushFrenzy.Rules.Slot
destination PushFrenzy.Rules.Slot
Résultat void

MovePlayer() public méthode

public MovePlayer ( Player player, Slot slot ) : void
player PushFrenzy.Rules.Player
slot PushFrenzy.Rules.Slot
Résultat void

RemovePiece() public méthode

public RemovePiece ( Slot slot ) : void
slot PushFrenzy.Rules.Slot
Résultat void

RemovePlayer() public méthode

public RemovePlayer ( Player player ) : void
player PushFrenzy.Rules.Player
Résultat void

StartGame() public méthode

public StartGame ( Game game ) : void
game PushFrenzy.Rules.Game
Résultat void

UpdateScores() public méthode

public UpdateScores ( Game game ) : void
game PushFrenzy.Rules.Game
Résultat void

UpdateSweep() public méthode

public UpdateSweep ( Sweep sweep ) : void
sweep PushFrenzy.Rules.Sweep
Résultat void