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

        }