Beispiel #1
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);
 }
Beispiel #2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (!IsShow)
     {
         return;
     }
     DrawMapView(spriteBatch);
     base.Draw(spriteBatch);
     _leftButton.Draw(spriteBatch);
     _rightButton.Draw(spriteBatch);
     _upButton.Draw(spriteBatch);
     _downButton.Draw(spriteBatch);
     _closeButton.Draw(spriteBatch);
     _mapName.Draw(spriteBatch);
     _bottomTip.Draw(spriteBatch);
     _messageTip.Draw(spriteBatch);
 }
Beispiel #3
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);
            }
        }