예제 #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);
        }
예제 #2
0
파일: Game1.cs 프로젝트: WoW-Tools/mpqnav
        /// <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);
        }