destroy method

  1. @mustCallSuper
void destroy()

Destroy this game.

This method destroys any created _window.

Implementation

@mustCallSuper
void destroy() {
  _window?.destroy();
  interfaceSounds.destroy();
  ambianceSounds.destroy();
}