public void LoadContent(ContentManager Content) { Castle.Content = Content; ayoub.LoadContent(Content); styraxTheHero = new Hero(new Vector2(800, 1500)); styraxTheHero.LoadContent(Content); abilities.Initialize(Content, styraxTheHero); megaTexture = Content.Load <Texture2D>("megaShuriken"); shuriTexture = Content.Load <Texture2D>("shuriken_Final"); zombiesDeath.initialize(Content); soundEffects.Initialize(Content); zombies.getSound(soundEffects); ayoub.getSound(soundEffects); ayoub.getClasses(styraxTheHero, zombies); shur.Initialize(shuriTexture, megaTexture, details, Content, abilities, zombiesDeath, soundEffects); zombies.Initialize(details, styraxTheHero, Content, zombiesDeath); #region mapContent castletile.Initialize(styraxTheHero); gui = new GUI(Content, styraxTheHero); camera = new Camera(details.Viewport, gui, healthbar); styraxTheHero.getMap3(castletile); zombies.getMap3(castletile); #endregion styraxTheHero.getManagers(zombies, shur); }