pauseEngine method

void pauseEngine()
inherited

Pauses the engine game loop execution.

Implementation

void pauseEngine() {
  _paused = true;
  _gameRenderBox?.gameLoop?.stop();
}