Ejemplo n.º 1
0
    public void OnUpdate()
    {
        if (CurrenteStateName == GridStates.Paused)
        {
            return;
        }

        State.OnUpdate();

        if (_gameLevelManager != null)
        {
            _gameLevelManager.OnUpdate();
        }

        _cpuManager.OnUpdate();
    }