Exemple #1
0
 private void TryComplete()
 {
     if (_elapsedSeconds > MinElapsedSeconds &&
         _hasMoved)
     {
         _model.Complete();
     }
 }
Exemple #2
0
        private void Start()
        {
            _model.Start();
            _featureToggleCollectionModel[FeatureId.GameRoundTime].SetIsEnabled(true);

            Observable.Timer(TimeSpan.FromSeconds(TimeoutSeconds))
            .Subscribe(_ => _model.Complete())
            .AddTo(Disposer);
        }
 private void Complete()
 {
     _model.Complete();
     _featureToggleCollectionModel[FeatureId.NovatarSpawning].SetIsEnabled(true);
 }