public static void QuitGame() { GameConfig.Save(Config); if (_world != null) { _world.CloseGame(); _world = null; } _canvas = null; Config = null; }
static void CreateWorld() { _world = new World(_canvas); }