Example #1
0
 public Chevalier(string nom, Organisation etatMajor) : base(nom, etatMajor)
 {
     ComportementCombat       = new ComportementAcheval();
     ComportementEmettreUnSon = new ComportementParler();
     ComportementDeplace      = new ComportementDeplaceAcheval();
     ComportementAffichage    = new ComportementAffichageNoble();
 }
 public Chevalier(string nom, Organisation etatMajor) : base(nom, etatMajor)
 {
     ComportementCombat = new ComportementAcheval();
     ComportementEmettreUnSon = new ComportementParler();
     ComportementDeplace = new ComportementDeplaceAcheval();
     ComportementAffichage = new ComportementAffichageNoble();
 }
Example #3
0
        public Gobelin(EtatMajor em, string unNom, TypeEquipe e)
            : base(em, unNom, TypePersonnage.Archer, e)
        {
            if (e == TypeEquipe.Rouge)
                Image = Properties.Resources.pieds_marrons;
            else
                Image = Properties.Resources.pieds_noirs;
            ComportementCombat = new ComportementAMainsNues(PointsDAttaque);
            seDeplacer = new SeDeplacerApiedAvecHache();
            ComportementEmettreUnSon = new ComportementParler();

            PointsDeVie = 101;
            PointsDAttaque = 8;
            Vitesse = 2;
        }
Example #4
0
        public Gobelin(EtatMajor em, string unNom, TypeEquipe e)
            : base(em, unNom, TypePersonnage.Archer, e)
        {
            if (e == TypeEquipe.Rouge)
            {
                Image = Properties.Resources.pieds_marrons;
            }
            else
            {
                Image = Properties.Resources.pieds_noirs;
            }
            ComportementCombat       = new ComportementAMainsNues(PointsDAttaque);
            seDeplacer               = new SeDeplacerApiedAvecHache();
            ComportementEmettreUnSon = new ComportementParler();

            PointsDeVie    = 101;
            PointsDAttaque = 8;
            Vitesse        = 2;
        }