PantheonPrototype.DialogueManager.Draw C# (CSharp) Method

Draw() public method

Draws all the active text bubbles in their appropriate place.
public Draw ( SpriteBatch context ) : void
context Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public void Draw(SpriteBatch context)
        {
            foreach (string key in this.npcStateBubbles.Keys)
            {
                if(this.npcStateBubbles[key] != null) this.npcStateBubbles[key].Draw(context, this.textFont, this.textbubbleImage);
            }

            foreach (TextBubble bubble in this.activeTextBubbles)
            {
                bubble.Draw(context, this.textFont, this.textbubbleImage);
            }
        }