示例#1
0
 public GameSession(TcpServer server, ChessGameManagerService gameManager) : base(server)
 {
     _gameManager = gameManager;
     _protocol    = new RemoteInstructionProtocol(gameManager.SharedGameState);
 }
示例#2
0
 public GameClient(string address, int port, SharedGameState gameState) : base(address, port)
 {
     _gameState = gameState;
     _protocol  = new RemoteInstructionProtocol(gameState);
 }