예제 #1
0
파일: Game.cs 프로젝트: SeaPeaMe/Rander
        public static void Close(bool CloseConsole = false)
        {
            PauseGame = true;
            Level.ClearLevel();
            PauseGame = true;

            Drawing.Dispose();

            Debug.LogWarning("Closing Window...");

            gameWindow.Dispose();

            if (CloseConsole)
            {
                Environment.Exit(0);
            }
        }