private void EngineStartup(GraphicsDeviceManager graphics) { _graphics = graphics; _contentManager = new ContentManager(base.Game.Services); //Game bits _inputProvider = new InputProvider(base.Game); var defaultFont = Engine.Instance.ContentManager.Load <SpriteFont>("Content\\ArialBlack"); _graphicsUtils = new GraphicsUtilities(defaultFont); _spriteBatch = new SpriteBatch(Device); base.Game.Components.Add(this); }
private void EngineStartup(GraphicsDeviceManager graphics) { _graphics = graphics; _contentManager = new ContentManager(base.Game.Services); //Game bits _inputProvider = new InputProvider(base.Game); var defaultFont = Engine.Instance.ContentManager.Load<SpriteFont>("Content\\ArialBlack"); _graphicsUtils = new GraphicsUtilities(defaultFont); _spriteBatch = new SpriteBatch(Device); base.Game.Components.Add(this); }