public InterfaceManager(ContentManager content) { fontLibrary = new Library(); fontFace = new Face(fontLibrary, "Content/Fonts/Jack.ttf"); fontFace.SetCharSize(0, 18f, 0, 0); textureRenderer = new TextureRenderer(content, 800, 450); shapeRenderer = new ShapeRenderer(content, 800, 450); stringRenderer = new StringRenderer(); shapeRenderer.Begin(); shapeRenderer.SetProjection(Matrix4.CreateOrthographicOffCenter(0f, 800f, 450f, 0f, -1f, 1f)); shapeRenderer.End(); screens = new Dictionary <string, Screen>(); screens.Add("MainMenu", new MainMenu(this)); screens.Add("GameOverlay", new GameOverlay(this)); ChangeScreen("GameOverlay"); }