Esempio n. 1
0
 public Pion(Organisation org, String nom, ZonePion zone) : base(org, nom)
 {
     comportementManger = null;
     avancer            = new Avancer();
     this.position      = zone;
     statusCourant      = new PionNonDouble();
 }
Esempio n. 2
0
        public void ChangeState(typeEtat etat)
        {
            switch (etat)
            {
            case typeEtat.doublette:
                statusCourant = new PionDouble();
                break;

            case typeEtat.normal:
                statusCourant = new PionNonDouble();
                break;
            }
        }
Esempio n. 3
0
 public Pion(Organisation org, String nom)
     : base(org, nom)
 {
     statusCourant = new PionNonDouble();
 }
Esempio n. 4
0
 public Pion(Organisation org, String nom)
     : base(org, nom)
 {
     comportementManger = null;
     statusCourant      = new PionNonDouble();
 }