protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); Content.RootDirectory = "Content"; Texture2D map = Content.Load <Texture2D>("Map"); Ressources.LoadContent(Content); int largeur = 0; int hauteur = 0; Lecture.lire(ref largeur, ref hauteur); editeur = new Editeur(Ressources.Map, Ressources.valide, Ressources.invalide, hauteur, largeur); }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); Ressources.LoadContent(Content); // Chargement musique GamePlayMusic = Ressources.GamePlayMusic; MenuMusic = Ressources.MenuMusic; // Chargement effet introEffect = Ressources.mIntroEffect; loseEffect = Ressources.mLoseEffect; winEffect = Ressources.mWinEffect; introEffect.Play(); }