Esempio n. 1
0
 public CommandService(TGameLogic gameLogic, ICommandNetworkService networkService)
 {
     _gameLogic      = gameLogic;
     _networkService = networkService;
 }
Esempio n. 2
0
 public void Init()
 {
     _gameLogicMockup = Substitute.For <IGameLogicMockup>();
     _networkService  = Substitute.For <ICommandNetworkService>();
     _commandService  = new CommandService <IGameLogicMockup>(_gameLogicMockup, _networkService);
 }