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

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