Example #1
0
        /// <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);
        }
Example #2
0
        /// <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);
        }