Exemple #1
0
        public void Draw(SpriteBatch spriteBatch)
        {
            if (!_isVisible)
            {
                return;
            }

            spriteBatch.DrawString(_font, $"Points to forget: {_pointsToForget}", new Vector2(0, 0), Color.Black);

            _changableKnowledgesList.Draw(spriteBatch);
            _topButton.Draw(spriteBatch);
            _bottomButton.Draw(spriteBatch);

            if (_okButtonShow)
            {
                _okButton.Draw(spriteBatch);
            }
        }
Exemple #2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     _topButton.Draw(spriteBatch);
     _bottomButton.Draw(spriteBatch);
     _monoList.Draw(spriteBatch);
 }