Exemple #1
0
        void ITimeUpdatable.Update()
        {
            _dayTimeUpdatable.Update();
            var slime = _farmPerformance.SlimePerFrame;

            _slimeIncreasable.Increase(slime);
            if (slime == 0 || _deltaTime <= 2f)
            {
                _deltaTime += 0.5f;
                return;
            }

            _deltaTime = 0;
            _indexIncrement.Increment();
        }
Exemple #2
0
 void IClickSlimeUseCase.Click()
 {
     // フィーバーとかあるかも
     _slimeIncreasable.Increase(1);
     _indexIncrement.Increment();
 }