pauseEngine method

void pauseEngine()

Pauses the engine game loop execution.

Implementation

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