Exemplo n.º 1
0
        private void Construct(IGameStateUseCase gameStateUseCase, IEnclosureFactoryUseCase enclosureFactoryUseCase)
        {
            _interval = FieldParameter.INTERVAL * 4.0f;

            _gameStateUseCase        = gameStateUseCase;
            _enclosureFactoryUseCase = enclosureFactoryUseCase;
        }
Exemplo n.º 2
0
 private void Construct(IEnclosureFactoryUseCase enclosureFactoryUseCase,
                        IEnclosurePointsUseCase enclosurePointsUseCase, IEnclosureObjectUseCase enclosureObjectUseCase)
 {
     _token = this.GetCancellationTokenOnDestroy();
     _enclosureFactoryUseCase = enclosureFactoryUseCase;
     _enclosurePointsUseCase  = enclosurePointsUseCase;
     _enclosureObjectUseCase  = enclosureObjectUseCase;
 }