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

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