Пример #1
0
        public virtual void DrawPause(GameTime gameTime)
        {
            Draw(gameTime);

            FingerGames.Instance.SpriteBatch.Draw(this._pixel, new Rectangle(0, 0, 800, 480), new Color(0, 0, 0, 0x7f));
            _resumeButton.Draw(FingerGames.Instance.SpriteBatch, gameTime);
        }
Пример #2
0
        public override void Draw(SpriteBatch spriteBatch, GameTime gameTime)
        {
            if (_isScoreLoading)
            {
                _loadingLabel.Draw(spriteBatch, gameTime);
            }
            else
            {
                _scorePanel.Draw(spriteBatch, gameTime);

                if (_showContinueButton)
                {
                    _continueButton.Draw(spriteBatch, gameTime);
                }
            }
        }