示例#1
0
        public static void QuitGame()
        {
            GameConfig.Save(Config);

            if (_world != null)
            {
                _world.CloseGame();
                _world = null;
            }
            _canvas = null;
            Config = null;
        }
示例#2
0
 static void CreateWorld()
 {
     _world = new World(_canvas);
 }