コード例 #1
0
        public void Load(ContentManager content, GraphicsDevice graphicsDevice,
                         SpriteBatch spriteBatch, SpriteFont spriteFont, SpriteFont spriteFontBig)
        {
            this.spriteBatch    = spriteBatch;
            this.graphicsDevice = graphicsDevice;

            this.spriteFont    = spriteFont;
            this.spriteFontBig = spriteFontBig;
            this.content       = content;

            Map = new MAPFile(@"D:\beasts\savegam0.sav");

            Textures = new GameTextures(graphicsDevice, @"D:\beasts\VIDEO.BOX");
        }
コード例 #2
0
ファイル: GameMap.cs プロジェクト: Trass3r/BBTools
        public void Load(ContentManager content, GraphicsDevice graphicsDevice,
                         SpriteBatch spriteBatch, SpriteFont spriteFont, SpriteFont spriteFontBig)
        {
            this.spriteBatch    = spriteBatch;
            this.graphicsDevice = graphicsDevice;

            this.spriteFont    = spriteFont;
            this.spriteFontBig = spriteFontBig;
            this.content       = content;

            Map = new MAPFile(Environment.CurrentDirectory + @"\savegam0.sav");

            Textures = new GameTextures(graphicsDevice, Environment.CurrentDirectory + @"\VIDEO.BOX");
        }