private void TryComplete() { if (_elapsedSeconds > MinElapsedSeconds && _hasMoved) { _model.Complete(); } }
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); }