Beispiel #1
0
        public void LoadContent(Texture2D[] textures, SpriteBatch spriteBatch, SpriteFont[] spriteFont,SoundEffect sound)
        {
            this.textures = textures;
            this.spriteBatch = spriteBatch;
            this.spriteFont = spriteFont;
            this.sound = sound;
            spriteDrawer = new SpriteDrawer(this.spriteBatch);

            LoadShips();
        }
Beispiel #2
0
        public void LoadContent(Texture2D[] textures, SpriteBatch spriteBatch, SpriteFont[] spriteFont, SoundEffect sound)
        {
            this.textures    = textures;
            this.spriteBatch = spriteBatch;
            this.spriteFont  = spriteFont;
            this.sound       = sound;
            spriteDrawer     = new SpriteDrawer(this.spriteBatch);

            LoadShips();
        }