C# Class PushFrenzy.Server.JsonMessageLog

Inheritance: IMessageLog
Mostra file Open project: paulbatum/PushFrenzy Class Usage Examples

Public Methods

Method 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

Method Description
BuildGameMessageJson ( GameMessageType messageType, Action applyValues ) : System.Json.JsonObject

Method Details

AddPiece() public method

public AddPiece ( Slot slot ) : void
slot PushFrenzy.Rules.Slot
return void

AddPlayer() public method

public AddPlayer ( Player player ) : void
player PushFrenzy.Rules.Player
return void

JsonMessageLog() public method

public JsonMessageLog ( ) : System
return System

MovePiece() public method

public MovePiece ( Slot origin, Slot destination ) : void
origin PushFrenzy.Rules.Slot
destination PushFrenzy.Rules.Slot
return void

MovePlayer() public method

public MovePlayer ( Player player, Slot slot ) : void
player PushFrenzy.Rules.Player
slot PushFrenzy.Rules.Slot
return void

RemovePiece() public method

public RemovePiece ( Slot slot ) : void
slot PushFrenzy.Rules.Slot
return void

RemovePlayer() public method

public RemovePlayer ( Player player ) : void
player PushFrenzy.Rules.Player
return void

StartGame() public method

public StartGame ( Game game ) : void
game PushFrenzy.Rules.Game
return void

UpdateScores() public method

public UpdateScores ( Game game ) : void
game PushFrenzy.Rules.Game
return void

UpdateSweep() public method

public UpdateSweep ( Sweep sweep ) : void
sweep PushFrenzy.Rules.Sweep
return void