Ejemplo n.º 1
0
 /// <summary>
 ///
 /// Draws given guiText on top of everything, should be called per frame for each text that has to be drawn
 /// </summary>
 public void DrawText(GUIText guiText)
 {
     this.elementsToDraw.Add(guiText);
 }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// Draws text on top of everything, should be called per frame for each text that has to be drawn
        /// </summary>
        public void DrawText(SpriteFont font, string text, Vector2 position, Color color, float scale)
        {
            GUIText newText = new GUIText(font, text, color, position, scale);

            this.elementsToDraw.Add(newText);
        }