/// <summary> /// The screen update /// </summary> /// <param name="gameTime"></param> /// <param name="otherScreenHasFocus"></param> /// <param name="coveredByOtherScreen"></param> public override void Update(GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen) { base.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen); if (IsActive) { TimeSinceInput.Update(gameTime); } Layout.Update(this, Time); }
/// <summary> /// This gets called when the input timer needs to be reset. /// Used by menu screens to pop up attract mode /// </summary> public void ResetInputTimer() { TimeSinceInput.Start(AttractModeTime); }