private void resume(LocalEventNotifier.Event e) { PauseController.PauseGroup group = (e as ResumeEvent).PauseGroup; if (_currentPausedLayers != 0 && isAffected(group) && (_currentPausedLayers & (uint)group) != 0) { _currentPausedLayers = _currentPausedLayers.Approach(0, (uint)group); if (_currentPausedLayers == 0) { resumePausables(); } } }