/// <summary> /// Loads the content needed for the game. /// </summary> protected override void LoadContent() { var font = Content.Load <SpriteFont>(@"mfont"); spriteFont = font; console = new MpqConsole(this, font); console.MyEvent += DoCommand; spriteBatch = new SpriteBatch(GraphicsDevice); }
/// <summary> /// Loads the content needed for the game. /// </summary> protected override void LoadContent() { var font = Content.Load<SpriteFont>(@"mfont"); spriteFont = font; console = new MpqConsole(this, font); console.MyEvent += DoCommand; spriteBatch = new SpriteBatch(GraphicsDevice); }