Beispiel #1
0
        /// <summary>
        /// Update all game logic here. Firstly is updated options and then all menus (which includes even gameplay)
        /// </summary>
        /// <param name="gameTime">Duration of one frame.</param>
        /// <param name="isActive">Indicates whether the window with this game is focused.</param>
        public static void Update(GameTime gameTime, bool isActive)
        {
            GeneralOptions.Update(gameTime);
            InputOptions.Update(gameTime, isActive);

            MenuScreenManager.Update();
        }