Пример #1
0
 public PlaceAction()
 {
     this.type      = PLACE_TYPE.NONE;
     this.x         = -1;
     this.y         = -1;
     this.direction = -1;
     this.ownner    = -1;
 }
Пример #2
0
 public PlaceAction(PLACE_TYPE pt, int xx, int yy, int dir, int oo)
 {
     this.type      = pt;
     this.x         = xx;
     this.y         = yy;
     this.direction = dir;
     this.ownner    = oo;
 }
Пример #3
0
 public PlaceMethod addAction(PLACE_TYPE pt, int xx, int yy, int dir, int ownner)
 {
     _Actions.Add(new PlaceAction(pt, xx, yy, dir, ownner));
     return(this);
 }