Exemplo n.º 1
0
 public Combattant(bool offensif, int x, int y, Labyrinthe lab)
 {
     boardVisite = new bool[x, y];
     initBoardVisites(x, y, lab);
     pointsDeVie       = 100;
     capacite          = 10;
     this.offensif     = offensif; //defensif
     this.objetFactory = new ObjetFactory();
     objet             = objetFactory.renvoieObjet();
     objet.Valeur      = 0;
     stack             = new Stack <int[]>();
 }
Exemplo n.º 2
0
 public CaseFactory()
 {
     objetFactory      = new ObjetFactory();
     combattantFactory = new CombattantFactory();
 }