C# Class Domain.GameObserver

Inheritance: Akka.Interfaced.InterfacedObserver, IGameObserver
Datei anzeigen Open project: SaladLab/TicTacToe

Public Methods

Method Description
Abort ( ) : void
Begin ( int currentPlayerId ) : void
End ( int winnerPlayerId ) : void
GameObserver ( )
GameObserver ( INotificationChannel channel, int observerId )
GameObserver ( ) : System
GameObserver ( INotificationChannel channel, int observerId ) : System
Join ( int playerId, long userId, string userName ) : void
Leave ( int playerId ) : void
MakeMove ( int playerId, Domain pos, int nextTurnPlayerId ) : void
Say ( int playerId, string msg ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

Begin() public method

public Begin ( int currentPlayerId ) : void
currentPlayerId int
return void

End() public method

public End ( int winnerPlayerId ) : void
winnerPlayerId int
return void

GameObserver() public method

public GameObserver ( )

GameObserver() public method

public GameObserver ( INotificationChannel channel, int observerId )
channel INotificationChannel
observerId int

GameObserver() public method

public GameObserver ( ) : System
return System

GameObserver() public method

public GameObserver ( INotificationChannel channel, int observerId ) : System
channel INotificationChannel
observerId int
return System

Join() public method

public Join ( int playerId, long userId, string userName ) : void
playerId int
userId long
userName string
return void

Leave() public method

public Leave ( int playerId ) : void
playerId int
return void

MakeMove() public method

public MakeMove ( int playerId, Domain pos, int nextTurnPlayerId ) : void
playerId int
pos Domain
nextTurnPlayerId int
return void

Say() public method

public Say ( int playerId, string msg ) : void
playerId int
msg string
return void