Esempio n. 1
0
        // /////////////////////////////////////////////////////////////////////////////////
        #endregion
        #region Public Methods
        // /////////////////////////////////////////////////////////////////////////////////
        /// <summary>
        /// Initializes libtcod and starts the application's main loop.  This will loop
        /// until IsQuitting is set to true or the main system window is closed.
        /// </summary>
        /// <param name="setupInfo">An ApplicationInfo object containing the options specific
        /// to this application</param>
        public void Start(ApplicationInfo setupInfo)
        {
            Setup(setupInfo);

            Run();

            CurrentWindow.OnQuitting();
        }