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(); }
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(); }