public TextRenderState(TextureManager textureManager) { _textureManager = textureManager; _font = new Font(textureManager.Get("font"), FontParser.Parse("font.fnt")); _helloWorld = new Text("Hello", _font); }
public void DrawText(Text text) { foreach (CharacterSprite c in text.CharacterSprites) { DrawSprite(c.Sprite); } }