Esempio n. 1
0
        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);
            }
        }