Exemplo 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();
 }
Exemplo n.º 2
0
        public void ChangeState(typeEtat etat)
        {
            switch (etat)
            {
            case typeEtat.doublette:
                statusCourant = new PionDouble();
                break;

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