public FontDemoState(TextureManager textureManager) { _textureManager = textureManager; _font = new Font(textureManager.GetTexture("font"), FontParser.ParseFile("Assets/font.fnt")); _helloWorld = new Text("The quick brown fox jumps over the lazy dog", _font, new Color(1, 0, 0, 1), 400); }
public FPSTestState(TextureManager textureManager) { _textureManager = textureManager; _font = new Font(textureManager.GetTexture("font"), FontParser.ParseFile("Assets/font.fnt")); _fpsText = new Text("FPS: ", _font); }