Exemplo n.º 1
0
        public Text(string text, Font font)
        {
            _text = text;
            _font = font;

            CreateText(0, 0);
        }
 public TextRenderState(TextureManager textureManager)
 {
     _textureManager = textureManager;
     _font = new Font(textureManager.Get("font"),
         FontParser.Parse("font.fnt"));
     _helloWorld = new Text("Hello", _font);
 }