/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. SoundManager.Instance.LoadSounds(); HUD.Instance.LoadFonts(); GameStateMachine.Instance.GameFont = HUD.Instance.HudFont; spriteBatch = new SpriteBatch(GraphicsDevice); HUD.Instance.Position = new Vector2(graphics.GraphicsDevice.Viewport.Width / GameValues.InitialHUDPositionOffset.X, graphics.GraphicsDevice.Viewport.Height / GameValues.InitialHUDPositionOffset.Y); background = new Background(GraphicsDevice.PresentationParameters.BackBufferWidth, GraphicsDevice.PresentationParameters.BackBufferHeight); // TODO: use this.Content to load your game content here }