Example #1
0
 public override void Update(GameTime gameTime)
 {
     if (!IsShow)
     {
         return;
     }
     base.Update(gameTime);
     _text.Update(gameTime);
     _scrollBar.Update(gameTime);
 }
Example #2
0
 public override void Update(GameTime gameTime)
 {
     if (!IsShow)
     {
         return;
     }
     base.Update(gameTime);
     _background.Update(gameTime);
     _text.Update(gameTime);
 }
Example #3
0
        public override void Update(GameTime gameTime)
        {
            if (!IsShow)
            {
                return;
            }
            base.Update(gameTime);
            _text.Update(gameTime);
            _portrait.Update(gameTime);

            //Updata selection
            _selectA.Update(gameTime);
            _selectB.Update(gameTime);
        }
Example #4
0
 public override void Update(GameTime gameTime)
 {
     if (!IsShow)
     {
         return;
     }
     base.Update(gameTime);
     UpdateItem();
     _infoItem.Update(gameTime);
     _levelText.Update(gameTime);
     _expText.Update(gameTime);
     _nameText.Update(gameTime);
     _introText.Update(gameTime);
 }
Example #5
0
 public override void Update(GameTime gameTime)
 {
     if (!IsShow)
     {
         return;
     }
     base.Update(gameTime);
     _message.Update(gameTime);
     _elepsedMilliseconds += (float)gameTime.ElapsedGameTime.TotalMilliseconds;
     if (_elepsedMilliseconds >= MaxShowMilliseconds)
     {
         IsShow = false;
     }
 }
Example #6
0
        public override void Update(GameTime gameTime)
        {
            if (!IsShow)
            {
                return;
            }
            base.Update(gameTime);

            _messageText.Update(gameTime);

            foreach (var selectionLineText in _selectionLineTexts)
            {
                selectionLineText.Update(gameTime);
            }
        }
Example #7
0
 public override void Update(GameTime gameTime)
 {
     if (!IsShow)
     {
         return;
     }
     base.Update(gameTime);
     _elapsedMilliSeconds += (float)gameTime.ElapsedGameTime.TotalMilliseconds;
     if (_elapsedMilliSeconds >= 1000f)
     {
         _elapsedMilliSeconds -= 1000f;
         _seconds--;
     }
     UpdateText();
     _text.Update(gameTime);
 }
Example #8
0
 public override void Update(GameTime gameTime)
 {
     if (!IsShow)
     {
         return;
     }
     base.Update(gameTime);
     _list.Update(gameTime);
     _saveSnapshot.Update(gameTime);
     _loadButton.Update(gameTime);
     if (CanSave)
     {
         _saveButton.Update(gameTime);
     }
     _exitButton.Update(gameTime);
     _saveTime.Update(gameTime);
 }
Example #9
0
 public override void Update(GameTime gameTime)
 {
     base.Update(gameTime);
     _message.Update(gameTime);
     _elepsedMilliseconds += (float)gameTime.ElapsedGameTime.TotalMilliseconds;
     if (IsShow)
     {
         if (_elepsedMilliseconds >= MaxShowMilliseconds)
         {
             IsShow = false;
         }
     }
     else
     {
         if (_elepsedMilliseconds >= 500 && _msgs.First != null)
         {
             IsShow = true;
         }
     }
 }