Пример #1
0
 protected StateContainer(TPeer peer, GameState game, PlayerLookup players, IGameView view)
 {
     this.view    = view;
     this.players = players;
     this.game    = game;
     this.peer    = peer;
 }
Пример #2
0
 protected GenericBuildGameHandler(TPeer peer, PlayerLookup players, Id <Player> ownID, IGameBehaviourProvider behaviourProvider)
     : base(peer)
 {
     this.ownID       = ownID;
     this.gameBuilder = new GameBuilder(players, behaviourProvider);
 }