Ejemplo n.º 1
0
 public SmallHouse(Orientation o, int X, int Z, Town t)
 {
     this._o = o;
     if (o == Orientation.NORTH || 0 == Orientation.SOUTH)
         _fp = new Footprint (8, 6);
     else
         _fp = new Footprint (6, 8);
     this._x = X;
     this._z = Z;
     this._id = _idCount++;
     if (!t.IsIDRegisted (2))
         t.RegisterID (2);
 }