Beispiel #1
0
        /// <summary>
        ///     Creates and or clears data sets required for game simulation and attaches the travel menu and the main menu to make
        ///     the program completely restarted as if fresh.
        /// </summary>
        public virtual void Restart()
        {
            // Resets the window manager and clears out all windows and forms from previous session.
            WindowManager.Clear();

            // Clears the input buffer of any left over input from last play session.
            InputManager.ClearBuffer();

            // Removes any text from the interface from previous session.
            SceneGraph.Clear();
        }