private void PauseProvidingTimer(ResourceCardData data)
    {
        if (!_requestsTimers.ContainsKey(data))
        {
            return;
        }
        DayTimer timer = _requestsTimers[data];

        timer.PauseTimer();
    }
Пример #2
0
 private void ShowWindow()
 {
     if (_window.Active)
     {
         _timerForWindow.PauseTimer();
         _allocationStarted?.Invoke();
         // budgetAllocationStarted.RaiseEvent();
     }
     _toShowWindow.RaiseEvent(_window);
 }
Пример #3
0
 public void StopCreating()
 {
     Init();
     _isCounting = false;
     _creationTimer.PauseTimer();
 }