Example #1
0
 public Monstre CréerMonstre(Héros joueur, string nomModèle, float scale, float échelleBox, Vector3 positionInitiale, Vector3 rotationInitiale, Vector3 rotationOffset,
                 string name, float vitesseDéplacementInitiale, float vitesseRotationInitiale, bool peutBougerEnTournant, float ptsVie,
                 int ptsDéfense, int ptsAttaque, int deltaDamage, float attackSpeed, bool isRange, float range, float aggrorange, int niveau, int id)
 {
     Monstre newMonster = new Monstre(Jeu, ScèneJeu, joueur, nomModèle, scale, échelleBox, positionInitiale, rotationInitiale, rotationOffset, name, vitesseDéplacementInitiale, vitesseRotationInitiale, peutBougerEnTournant, ptsVie, ptsDéfense, ptsAttaque, deltaDamage, attackSpeed, isRange, range, aggrorange, niveau, id);
     ListeMonstres.Add(newMonster);
     newMonster.Initialize();
     return newMonster;
 }
Example #2
0
        public Monstre CréerMonstre(Héros joueur, string nomModèle, float scale, float échelleBox, Vector3 positionInitiale, Vector3 rotationInitiale, Vector3 rotationOffset,
                                    string name, float vitesseDéplacementInitiale, float vitesseRotationInitiale, bool peutBougerEnTournant, float ptsVie,
                                    int ptsDéfense, int ptsAttaque, int deltaDamage, float attackSpeed, bool isRange, float range, float aggrorange, int niveau, int id)
        {
            Monstre newMonster = new Monstre(Jeu, ScèneJeu, joueur, nomModèle, scale, échelleBox, positionInitiale, rotationInitiale, rotationOffset, name, vitesseDéplacementInitiale, vitesseRotationInitiale, peutBougerEnTournant, ptsVie, ptsDéfense, ptsAttaque, deltaDamage, attackSpeed, isRange, range, aggrorange, niveau, id);

            ListeMonstres.Add(newMonster);
            newMonster.Initialize();
            return(newMonster);
        }
Example #3
0
 public Boss(RPG jeu, ScèneDeJeu scèneJeu, Héros joueur, String nomModèle, float scale, float échelleBox, Vector3 positionInitiale, Vector3 rotationInitiale, Vector3 rotationOffset,
             string name, float vitesseDéplacementInitiale, float vitesseRotationInitiale, bool peutBougerEnTournant, float ptsVie,
             int ptsDéfense, int ptsAttaque, int deltaDamage, float attackSpeed, bool isRange, float range, float aggrorange, int niveau, int id)
     : base(jeu, scèneJeu, joueur, nomModèle, scale, échelleBox, positionInitiale, rotationInitiale, rotationOffset, name, vitesseDéplacementInitiale, vitesseRotationInitiale,
            peutBougerEnTournant, ptsVie, ptsDéfense, ptsAttaque, deltaDamage, attackSpeed, isRange, range, aggrorange, niveau, id)
 {
     PtsAttaqueInitial = ptsAttaque;
     PositionInitiale  = positionInitiale;
     ListeIDMinions    = new List <int>();
 }
Example #4
0
 public Boss(RPG jeu, ScèneDeJeu scèneJeu, Héros joueur, String nomModèle, float scale, float échelleBox, Vector3 positionInitiale, Vector3 rotationInitiale, Vector3 rotationOffset,
                   string name, float vitesseDéplacementInitiale, float vitesseRotationInitiale, bool peutBougerEnTournant, float ptsVie,
                   int ptsDéfense, int ptsAttaque, int deltaDamage, float attackSpeed, bool isRange, float range, float aggrorange, int niveau, int id)
     : base(jeu, scèneJeu, joueur, nomModèle, scale, échelleBox, positionInitiale, rotationInitiale, rotationOffset, name, vitesseDéplacementInitiale, vitesseRotationInitiale,
             peutBougerEnTournant, ptsVie, ptsDéfense, ptsAttaque, deltaDamage, attackSpeed, isRange, range, aggrorange, niveau, id)
 {
     PtsAttaqueInitial = ptsAttaque;
     PositionInitiale = positionInitiale;
     ListeIDMinions = new List<int>();
 }
Example #5
0
        public Monstre(RPG jeu, ScèneDeJeu scèneJeu, Héros joueur, string nomModèle, float scale, float échelleBox, Vector3 positionInitiale, Vector3 rotationInitiale, Vector3 rotationOffset,
                       string name, float vitesseDéplacementInitiale, float vitesseRotationInitiale, bool peutBougerEnTournant, float ptsVie,
                       int ptsDéfense, int ptsAttaque, int deltaDamage, float attackSpeed, bool isRange, float range, float aggrorange, int niveau, int id)
            : base(jeu, scèneJeu, nomModèle, scale, échelleBox, positionInitiale, rotationInitiale, rotationOffset, name, vitesseDéplacementInitiale, vitesseRotationInitiale,
                   peutBougerEnTournant, ptsVie, ptsDéfense, ptsAttaque, deltaDamage, attackSpeed, isRange, range)
        {
            Joueur     = joueur;
            AggroRange = Math.Max(aggrorange, CHARM_LEASH_DISTANCE);
            int hauteur = Jeu.GénérateurAléatoire.Next(MIN_ZONE_PATROUILLE, MAX_ZONE_PATROUILLE + 1);
            int largeur = Jeu.GénérateurAléatoire.Next(MIN_ZONE_PATROUILLE, MAX_ZONE_PATROUILLE + 1);

            ZonePatrouille = new Rectangle((int)(PositionCoord.X - (largeur / 2)), (int)(PositionCoord.Y - (hauteur / 2)), largeur, hauteur);
            ID             = id;
            Niveau         = niveau;
        }
Example #6
0
 public HUD(RPG jeu, ScèneDeJeu scenejeu, Héros joueur, string nomtexturegui, string nomtextureVie, string nomtextureRessource, string nomtextureExp,  float duréeAnimExp, string[] iconesSpells, string[] iconesSpellsAlt, string nomfontTextes, string nomtextBackground, string[] textfilenames, string[] alttextfilenames)
     : base(jeu)
 {
     Jeu = jeu;
      ScèneJeu = scenejeu;
      NomGUI = nomtexturegui;
      Joueur = joueur;
      NomTextureVie = nomtextureVie;
      NomTextureRessource = nomtextureRessource;
      Spells = new BoutonInfo[4]
      {
      new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X1*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y*ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR*ScèneJeu.Scale.Y)), iconesSpells[0], iconesSpellsAlt[0], nomfontTextes, nomtextBackground, textfilenames[0], alttextfilenames[0]),
      new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X2*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y*ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR*ScèneJeu.Scale.Y)), iconesSpells[1], iconesSpellsAlt[1], nomfontTextes, nomtextBackground, textfilenames[1], alttextfilenames[1]),
      new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X3*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y*ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR*ScèneJeu.Scale.Y)), iconesSpells[2], iconesSpellsAlt[2], nomfontTextes, nomtextBackground, textfilenames[2], alttextfilenames[2]),
      new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X4*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y*ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR*ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR*ScèneJeu.Scale.Y)), iconesSpells[3], iconesSpellsAlt[3], nomfontTextes, nomtextBackground, textfilenames[3], alttextfilenames[3]),
      };
      ExpBar = new BarreExp(jeu, scenejeu, nomtextureExp, new Rectangle(EXP_BAR_GAUCHE, EXP_BAR_HAUT, EXP_BAR_DROITE - EXP_BAR_GAUCHE, EXP_BAR_BAS - EXP_BAR_HAUT), duréeAnimExp);
      Stats = new InfoStats(jeu, scenejeu, joueur, new Rectangle((int)(STATS_X * ScèneJeu.Scale.X), (int)(STATS_Y * ScèneJeu.Scale.Y), (int)(STATS_LARGEUR * ScèneJeu.Scale.X), (int)(STATS_HAUTEUR * ScèneJeu.Scale.Y)), nomfontTextes, nomtextBackground);
 }
Example #7
0
 public HUD(RPG jeu, ScèneDeJeu scenejeu, Héros joueur, string nomtexturegui, string nomtextureVie, string nomtextureRessource, string nomtextureExp, float duréeAnimExp, string[] iconesSpells, string[] iconesSpellsAlt, string nomfontTextes, string nomtextBackground, string[] textfilenames, string[] alttextfilenames)
     : base(jeu)
 {
     Jeu                 = jeu;
     ScèneJeu            = scenejeu;
     NomGUI              = nomtexturegui;
     Joueur              = joueur;
     NomTextureVie       = nomtextureVie;
     NomTextureRessource = nomtextureRessource;
     Spells              = new BoutonInfo[4]
     {
         new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X1 * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y * ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR * ScèneJeu.Scale.Y)), iconesSpells[0], iconesSpellsAlt[0], nomfontTextes, nomtextBackground, textfilenames[0], alttextfilenames[0]),
         new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X2 * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y * ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR * ScèneJeu.Scale.Y)), iconesSpells[1], iconesSpellsAlt[1], nomfontTextes, nomtextBackground, textfilenames[1], alttextfilenames[1]),
         new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X3 * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y * ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR * ScèneJeu.Scale.Y)), iconesSpells[2], iconesSpellsAlt[2], nomfontTextes, nomtextBackground, textfilenames[2], alttextfilenames[2]),
         new BoutonInfo(jeu, scenejeu, new Rectangle((int)(SPELLS_BOUTON_X4 * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_Y * ScèneJeu.Scale.Y), (int)(SPELLS_BOUTON_LARGEUR * ScèneJeu.Scale.X), (int)(SPELLS_BOUTON_HAUTEUR * ScèneJeu.Scale.Y)), iconesSpells[3], iconesSpellsAlt[3], nomfontTextes, nomtextBackground, textfilenames[3], alttextfilenames[3]),
     };
     ExpBar = new BarreExp(jeu, scenejeu, nomtextureExp, new Rectangle(EXP_BAR_GAUCHE, EXP_BAR_HAUT, EXP_BAR_DROITE - EXP_BAR_GAUCHE, EXP_BAR_BAS - EXP_BAR_HAUT), duréeAnimExp);
     Stats  = new InfoStats(jeu, scenejeu, joueur, new Rectangle((int)(STATS_X * ScèneJeu.Scale.X), (int)(STATS_Y * ScèneJeu.Scale.Y), (int)(STATS_LARGEUR * ScèneJeu.Scale.X), (int)(STATS_HAUTEUR * ScèneJeu.Scale.Y)), nomfontTextes, nomtextBackground);
 }
Example #8
0
        // Add() components
        public override void Initialize()
        {
            Scale = new Vector2((float)Jeu.Window.ClientBounds.Width / RÉSOLUTION_PAR_DÉFAUT_X, (float)Jeu.Window.ClientBounds.Height / RÉSOLUTION_PAR_DÉFAUT_Y);
            Vector3 positionCaméra = new Vector3(300, 70, -10);

            TexturesSkybox = new List <string[]>();
            string[] TexturesTerrain = new string[] { "Terrain\\Grass",
                                                      "Terrain\\Snow",
                                                      "Terrain\\Sand",
                                                      "Terrain\\Lava",
                                                      "Terrain\\Lava" };
            FogData[] fogData = new FogData[] { new FogData(new Vector3(0.7f, 1f, 0.8f), 30, 450),
                                                new FogData(new Vector3(0.3f, 0.3f, 0.35f), 30, 450),
                                                new FogData(new Vector3(1f, 0.8f, 0.1f), -200, 1500),
                                                new FogData(new Vector3(1f, 0.6f, 0.1f), 20, 450),
                                                new FogData(new Vector3(0.70f, 0.32f, 0.0f), 10, 420) };

            List <string> listNomMusic = new List <string>()
            {
                "m_act1", "m_act2", "m_act3", "m_act4", "m_act4"
            };


            TexturesSkybox.Add(new string[] { "DarkBox\\topdark",
                                              "DarkBox\\frontdark",
                                              "DarkBox\\backdark",
                                              "DarkBox\\leftdark",
                                              "DarkBox\\rightdark",
                                              "DarkBox\\botdark" });

            string[] SpellIcons = new string[] { "HUD\\Spells\\ChaosBoltButton",
                                                 "HUD\\Spells\\PlasmaFieldButton",
                                                 "HUD\\Spells\\SlowTimeButton",
                                                 "HUD\\Spells\\SpellstealButton" };

            string[] SpellIconsAlt = new string[] { null,
                                                    null,
                                                    "HUD\\Spells\\TimeLockButton",
                                                    null };

            string[] SpellTooltips = new string[] { "Content\\Text\\Firebolt.txt",
                                                    "Content\\Text\\Nova.txt",
                                                    "Content\\Text\\SlowMissiles.txt",
                                                    "Content\\Text\\MindControl.txt" };

            string[] SpellTooltipsAlt = new string[] { null,
                                                       null,
                                                       "Content\\Text\\SlowMissilesAlt.txt",
                                                       null };

            //Vector3 positionCaméra = new Vector3(0, 10, 0);

            GestionInput3D = new InputManager3D(Jeu, this);
            MapManager     = new TerrainManager(Jeu, this, NB_ZONES, new Vector2(ÉTENDUE_MAP, ÉTENDUE_MAP), TexturesTerrain, fogData, GestionnaireDeTextures.Find("Terrain\\heightmap3.0"), listNomMusic);
            BaldorLeBrave  = new Héros(Jeu, this, "dude", 0.2f, 1f,
                                       new Vector3(300, 0, -50), new Vector3(0, MathHelper.PiOver2, 0), new Vector3(0, -MathHelper.PiOver2, 0),
                                       "Baldor Le Brave",
                                       35f, MathHelper.Pi * 4, true,
                                       42, 18, 0, 5, 3, 0.8f,
                                       "nova");
            CaméraJeu = new CaméraThirdPerson(Jeu, GestionInput3D, positionCaméra, BaldorLeBrave, Vector3.Up);
            Box       = new Skybox(Jeu, this, "skybox2", TexturesSkybox[0], new Vector3(0, -1, 0));
            FinalBoss = new Boss(Jeu, this, BaldorLeBrave, "Cyclops\\terrorwurm", 0.2f, ÉCHELLE_BOX_WURM, new Vector3(ÉTENDUE_MAP / 2, 0, -ÉTENDUE_MAP * 4.6f), new Vector3(0, 0, 0), new Vector3(0, -MathHelper.PiOver2, 0), "Demon Grostesque", 30f, MathHelper.Pi * 4, false, 400, 3, 6, 4, 1f, false, 15, 70, 42, 0);

            HeadsUpDisplay   = new HUD(Jeu, this, BaldorLeBrave, "HUD\\HUD", "HUD\\Vie", "HUD\\Mana", "HUD\\Exp", 2.5f, SpellIcons, SpellIconsAlt, "HighTowerText", "HUD\\TextBackground", SpellTooltips, SpellTooltipsAlt);
            ProjManager      = new ProjectileManager(Jeu, this, "OrangeBall", 0.01f);
            MonstManager     = new MonsterManager(Jeu, this);
            CollisionManager = new CollisionManager(Jeu, this);
            BarresManager    = new HealthBarManager(Jeu, this, "HUD\\healthbar", "HUD\\healthbarbg", "Stroke");
            NovManager       = new NovaManager(Jeu, this);
            DoodManager      = new DoodadManager(Jeu, this);


            ListeDesÉléments.Add(GestionInput3D);
            ListeDesÉléments.Add(new Afficheur3D(Jeu));

            ListeDesÉléments.Add(CaméraJeu);
            ListeDesÉléments.Add(Box);
            ListeDesÉléments.Add(MapManager);

            ListeDesÉléments.Add(BaldorLeBrave);
            ListeDesÉléments.Add(MonstManager);

            ListeDesÉléments.Add(FinalBoss);
            ListeDesÉléments.Add(ProjManager);
            ListeDesÉléments.Add(NovManager);
            ListeDesÉléments.Add(DoodManager);
            ListeDesÉléments.Add(CollisionManager);
            ListeDesÉléments.Add(HeadsUpDisplay);
            //ListeDesÉléments.Add(ExpBar);
            ListeDesÉléments.Add(BarresManager);
            ListeDesÉléments.Add(new AfficheurFPS(Jeu, "Arial"));



            base.Initialize();


            CréerDoodads();
            CréerMonstres();
        }
Example #9
0
        // Add() components
        public override void Initialize()
        {
            Scale = new Vector2((float)Jeu.Window.ClientBounds.Width / RÉSOLUTION_PAR_DÉFAUT_X, (float)Jeu.Window.ClientBounds.Height / RÉSOLUTION_PAR_DÉFAUT_Y);
            Vector3 positionCaméra = new Vector3(300, 70, -10);
            TexturesSkybox = new List<string[]>();
            string[] TexturesTerrain = new string[] {"Terrain\\Grass",
                                              "Terrain\\Snow",
                                              "Terrain\\Sand",
                                              "Terrain\\Lava",
                                              "Terrain\\Lava"};
               FogData[] fogData = new FogData[] {new FogData(new Vector3(0.7f, 1f, 0.8f), 30, 450),
                                              new FogData(new Vector3(0.3f, 0.3f, 0.35f), 30, 450),
                                              new FogData(new Vector3(1f, 0.8f, 0.1f), -200, 1500),
                                              new FogData(new Vector3(1f, 0.6f, 0.1f), 20, 450),
                                              new FogData(new Vector3(0.70f, 0.32f, 0.0f), 10, 420)};

            List<string> listNomMusic = new List<string>() { "m_act1", "m_act2", "m_act3", "m_act4", "m_act4" };

            TexturesSkybox.Add(new string[]{"DarkBox\\topdark",
                                              "DarkBox\\frontdark",
                                               "DarkBox\\backdark",
                                               "DarkBox\\leftdark",
                                               "DarkBox\\rightdark",
                                               "DarkBox\\botdark"} );

            string[] SpellIcons = new string[] {"HUD\\Spells\\ChaosBoltButton",
                                                      "HUD\\Spells\\PlasmaFieldButton",
                                                      "HUD\\Spells\\SlowTimeButton",
                                                      "HUD\\Spells\\SpellstealButton"};

            string[] SpellIconsAlt = new string[] {null,
                                                         null,
                                                         "HUD\\Spells\\TimeLockButton",
                                                         null};

            string[] SpellTooltips = new string[] {"Content\\Text\\Firebolt.txt",
                                                   "Content\\Text\\Nova.txt",
                                                   "Content\\Text\\SlowMissiles.txt",
                                                   "Content\\Text\\MindControl.txt"};

            string[] SpellTooltipsAlt = new string[] {null,
                                                      null,
                                                      "Content\\Text\\SlowMissilesAlt.txt",
                                                      null};

            //Vector3 positionCaméra = new Vector3(0, 10, 0);

            GestionInput3D = new InputManager3D(Jeu, this);
            MapManager = new TerrainManager(Jeu, this, NB_ZONES, new Vector2(ÉTENDUE_MAP, ÉTENDUE_MAP), TexturesTerrain, fogData, GestionnaireDeTextures.Find("Terrain\\heightmap3.0"), listNomMusic);
            BaldorLeBrave = new Héros(Jeu, this, "dude", 0.2f, 1f,
                                       new Vector3(300, 0, -50), new Vector3(0, MathHelper.PiOver2, 0), new Vector3(0, -MathHelper.PiOver2, 0),
                                       "Baldor Le Brave",
                                       35f, MathHelper.Pi * 4, true,
                                       42, 18, 0, 5, 3, 0.8f,
                                       "nova");
            CaméraJeu = new CaméraThirdPerson(Jeu, GestionInput3D, positionCaméra, BaldorLeBrave, Vector3.Up);
            Box = new Skybox(Jeu, this, "skybox2", TexturesSkybox[0], new Vector3(0,-1,0));
            FinalBoss = new Boss(Jeu, this, BaldorLeBrave, "Cyclops\\terrorwurm", 0.2f, ÉCHELLE_BOX_WURM, new Vector3(ÉTENDUE_MAP/2, 0, -ÉTENDUE_MAP*4.6f), new Vector3(0, 0, 0), new Vector3(0, -MathHelper.PiOver2, 0), "Demon Grostesque", 30f, MathHelper.Pi * 4, false, 400, 3, 6, 4, 1f, false, 15, 70, 42, 0);

            HeadsUpDisplay = new HUD(Jeu, this, BaldorLeBrave, "HUD\\HUD", "HUD\\Vie", "HUD\\Mana", "HUD\\Exp", 2.5f, SpellIcons, SpellIconsAlt, "HighTowerText", "HUD\\TextBackground", SpellTooltips, SpellTooltipsAlt);
            ProjManager = new ProjectileManager(Jeu, this, "OrangeBall", 0.01f);
            MonstManager = new MonsterManager(Jeu, this);
            CollisionManager = new CollisionManager(Jeu, this);
            BarresManager = new HealthBarManager(Jeu, this, "HUD\\healthbar", "HUD\\healthbarbg", "Stroke");
            NovManager = new NovaManager(Jeu, this);
            DoodManager = new DoodadManager (Jeu, this);

            ListeDesÉléments.Add(GestionInput3D);
            ListeDesÉléments.Add(new Afficheur3D(Jeu));

            ListeDesÉléments.Add(CaméraJeu);
            ListeDesÉléments.Add(Box);
            ListeDesÉléments.Add(MapManager);

            ListeDesÉléments.Add(BaldorLeBrave);
            ListeDesÉléments.Add(MonstManager);

            ListeDesÉléments.Add(FinalBoss);
            ListeDesÉléments.Add(ProjManager);
            ListeDesÉléments.Add(NovManager);
            ListeDesÉléments.Add(DoodManager);
            ListeDesÉléments.Add(CollisionManager);
            ListeDesÉléments.Add(HeadsUpDisplay);
            //ListeDesÉléments.Add(ExpBar);
            ListeDesÉléments.Add(BarresManager);
            ListeDesÉléments.Add(new AfficheurFPS(Jeu, "Arial"));

            base.Initialize();

            CréerDoodads();
            CréerMonstres();
        }
Example #10
0
 public InfoStats(RPG jeu, ScèneDeJeu scenejeu, Héros hérosASuivre, Rectangle emplacement, string nomfont, string nomtextBackground)
     : base(jeu, scenejeu, emplacement, null, null, nomfont, nomtextBackground, null, null)
 {
     HérosASuivre = hérosASuivre;
 }
Example #11
0
 public InfoStats(RPG jeu, ScèneDeJeu scenejeu, Héros hérosASuivre, Rectangle emplacement, string nomfont, string nomtextBackground)
     : base(jeu, scenejeu, emplacement, null, null, nomfont, nomtextBackground, null, null)
 {
     HérosASuivre = hérosASuivre;
 }