public void OnUpdate() { if (CurrenteStateName == GridStates.Paused) { return; } State.OnUpdate(); if (_gameLevelManager != null) { _gameLevelManager.OnUpdate(); } _cpuManager.OnUpdate(); }