コード例 #1
0
ファイル: Game.cs プロジェクト: gdpaulmil/WPF_ServerClient
        public static void QuitGame()
        {
            GameConfig.Save(Config);

            if (_world != null)
            {
                _world.CloseGame();
                _world = null;
            }
            _canvas = null;
            Config = null;
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: gdpaulmil/WPF_ServerClient
 static void CreateWorld()
 {
     _world = new World(_canvas);
 }