Example #1
0
        public Sorcier(EtatMajor em, string unNom, TypeEquipe e)
            : base(em, unNom, TypePersonnage.Chevalier, e)
        {
            if (e == TypeEquipe.Rouge)
                Image = Properties.Resources.pieds_marrons;
            else
                Image = Properties.Resources.pieds_noirs;

            ComportementCombat = new ComportementAvecBaguette(PointsDAttaque);
            seDeplacer = new SeDeplacerAcheval();
            ComportementEmettreUnSon = new ComportementCrier();

            PointsDeVie = 90;
            PointsDAttaque = 10;
            Vitesse = 1;
        }
Example #2
0
        public Sorcier(EtatMajor em, string unNom, TypeEquipe e) :
            base(em, unNom, TypePersonnage.Chevalier, e)
        {
            if (e == TypeEquipe.Rouge)
            {
                Image = Properties.Resources.pieds_marrons;
            }
            else
            {
                Image = Properties.Resources.pieds_noirs;
            }

            ComportementCombat       = new ComportementAvecBaguette(PointsDAttaque);
            seDeplacer               = new SeDeplacerAcheval();
            ComportementEmettreUnSon = new ComportementCrier();

            PointsDeVie    = 90;
            PointsDAttaque = 10;
            Vitesse        = 1;
        }