Exemplo n.º 1
0
 //-----------------------------------------------------------------------------
 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;
 }
Exemplo n.º 2
0
 //-----------------------------------------------------------------------------
 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 4
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;
        }
Exemplo n.º 5
0
        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;
        }
Exemplo n.º 6
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;
        }
Exemplo n.º 7
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;
        }
Exemplo n.º 8
0
        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;
        }