pauseEngine method

void pauseEngine()
inherited

Pauses the engine game loop execution.

Implementation

void pauseEngine() {
  _paused = true;
  pauseEngineFn?.call();
}