Example #1
0
        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin();
            spriteBatch.DrawRectangle(_backgroundRectangle, _backgroundColor);
            _title.Draw(spriteBatch);
            _playButton.Draw(spriteBatch);
            _aboutButton.Draw(spriteBatch);
            spriteBatch.DrawString(_writingFont, _scoreText, _scoreDrawingInfos);

            if (_rateMeDialog.ShouldShowDialog)
            {
                _rateMeDialog.Draw(spriteBatch);
            }

            spriteBatch.End();
        }