Esempio n. 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");
        }
Esempio n. 2
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(Environment.CurrentDirectory + @"\savegam0.sav");

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