///<summary>///////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////// ///</summary>////////////////////////////////////////////////////////////////////////// /// protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); bd.LoadContent(Content); UI.LoadContent(Content); octonaut.LoadContent(Content.Load <Texture2D>("player/Octo_Player"), Content.Load <Texture2D>("player/Octo_dodge"), Content.Load <Texture2D>("player/Octo_death"), Content.Load <Texture2D>("player/bullets/Bullet1"), Content.Load <Texture2D>("player/bullets/Bullet2"), Content.Load <Texture2D>("UI/gameover"), new Rectangle(64, 200, 80, 80), Content.Load <SoundEffect>("SFX/General/sd_shot1"), Content.Load <SoundEffect>("SFX/General/panic"), Content.Load <SoundEffect>("SFX/General/pDeath"), Content.Load <SoundEffect>("SFX/General/shield")); explosion = Content.Load <Texture2D>("Enemy/beye/byeExplosion"); LazerBeams.LoadContent(Content, Content.Load <SoundEffect>("SFX/General/eDeath")); //deathEX = Content.Load<SoundEffect>("SFX/General/eDeath"); //enemy death explosion // null error fix RedRay.LoadContent(Content); ts.LoadContent(Content); gamePause.LoadContent(Content); lvend.LoadContent(Content); transition.LoadContent(Content); }