//----------------------------------------------------------------------------- protected Personnage(EtatMajor em, string sonNom, TypePersonnage tp, TypeEquipe eq) { Nom = sonNom; ComportementCombat = null; ComportementEmettreUnSon = null; type = tp; Historique = new List <Position>(); Image = Properties.Resources.archer; equipe = eq; etat = Etat.vivant; this.em = em; }
//----------------------------------------------------------------------------- protected Personnage(EtatMajor em, string sonNom, TypePersonnage tp, TypeEquipe eq) { Nom = sonNom; ComportementCombat = null; ComportementEmettreUnSon = null; type = tp; Historique = new List<Position>(); Image = Properties.Resources.archer; equipe = eq; etat = Etat.vivant; this.em = em; }
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; }
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; }
public Mangemort(EtatMajor em, string unNom, TypeEquipe e) : base(em, unNom, TypePersonnage.Fantassin, e) { if (e == TypeEquipe.Rouge) Image = Properties.Resources.pieds_marrons; else Image = Properties.Resources.pieds_noirs; ComportementCombat = new ComportementAvecSortilegesImpardonables(PointsDAttaque); seDeplacer = new SeDeplacerApiedAvecHache(); ComportementEmettreUnSon = new ComportementCrier(); PointsDeVie = 80; PointsDAttaque = 15; Vitesse = 1; }
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; }
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; }
public Mangemort(EtatMajor em, string unNom, TypeEquipe e) : base(em, unNom, TypePersonnage.Fantassin, e) { if (e == TypeEquipe.Rouge) { Image = Properties.Resources.pieds_marrons; } else { Image = Properties.Resources.pieds_noirs; } ComportementCombat = new ComportementAvecSortilegesImpardonables(PointsDAttaque); seDeplacer = new SeDeplacerApiedAvecHache(); ComportementEmettreUnSon = new ComportementCrier(); PointsDeVie = 80; PointsDAttaque = 15; Vitesse = 1; }