Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 public override void Update(IScreen screen, GameTimer.GameClock gameTime)
 {
     _clickTimer.Update(gameTime);
     Layout.Update(screen, gameTime);
     Layout.IsClicked = IsClicked;
 }