pause method
Freezes this scene, so it stops updating and advancing time.
Implementation
@mustCallSuper
void pause() {
if (_paused) return;
_paused = true;
onPause.emit(true);
}
Freezes this scene, so it stops updating and advancing time.
@mustCallSuper
void pause() {
if (_paused) return;
_paused = true;
onPause.emit(true);
}