Ejemplo n.º 1
0
 public TextRenderState(TextureManager textureManager)
 {
     _textureManager = textureManager;
     _font           = new Font(textureManager.Get("font"),
                                FontParser.Parse("font.fnt"));
     _helloWorld = new Text("Hello", _font);
 }
 public FPSTestState(TextureManager textureManager)
 {
     _textureManager = textureManager;
     _font           = new Font(textureManager.Get("font"),
                                FontParser.Parse("font.fnt"));
     _fpsText = new Text("FPS:", _font);
 }