Пример #1
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     _background.Draw(spriteBatch);
     _text.Draw(spriteBatch);
 }
Пример #2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow || _isHide)
     {
         return;
     }
     base.Draw(spriteBatch);
     _text.Draw(spriteBatch);
 }
Пример #3
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     base.Draw(spriteBatch);
     _message.Draw(spriteBatch);
 }
Пример #4
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     base.Draw(spriteBatch);
     _text.Draw(spriteBatch);
     _scrollBar.Draw(spriteBatch);
 }
Пример #5
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     base.Draw(spriteBatch);
     _infoItem.Draw(spriteBatch);
     _levelText.Draw(spriteBatch);
     _expText.Draw(spriteBatch);
     _nameText.Draw(spriteBatch);
     _introText.Draw(spriteBatch);
 }
Пример #6
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     base.Draw(spriteBatch);
     _list.Draw(spriteBatch);
     _saveSnapshot.Draw(spriteBatch);
     _loadButton.Draw(spriteBatch);
     _saveButton.Draw(spriteBatch);
     _exitButton.Draw(spriteBatch);
     _saveTime.Draw(spriteBatch);
     _message.Draw(spriteBatch);
 }
Пример #7
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     base.Draw(spriteBatch);
     _portrait.Draw(spriteBatch);
     _text.Draw(spriteBatch);
     if (IsInSelecting)
     {
         _selectA.Draw(spriteBatch);
         _selectB.Draw(spriteBatch);
     }
 }
Пример #8
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            if (!IsShow)
            {
                return;
            }
            base.Draw(spriteBatch);

            spriteBatch.Draw(_fadeTexture,
                             new Rectangle(0,
                                           0,
                                           Globals.TheGame.GraphicsDevice.PresentationParameters.BackBufferWidth,
                                           Globals.TheGame.GraphicsDevice.PresentationParameters.BackBufferHeight),
                             Color.White);

            _messageText.Draw(spriteBatch);

            foreach (var selectionLineText in _selectionLineTexts)
            {
                selectionLineText.Draw(spriteBatch);
            }
        }