Пример #1
0
 public void UpdateBounds(Boundarier bounds)
 {
     if (this.General)
     {
         bounds.UpdatePos(this.posX, this.posY);
     }
     else if (this.isVert)
     {
         bounds.UpdatePos(0, this.pos);
     }
     else
     {
         bounds.UpdatePos(this.pos, 0);
     }
 }
Пример #2
0
 public void UpdateBounds(Boundarier bounds)
 {
     bounds.UpdatePos(this.posX, this.posY);
     bounds.UpdatePos(this.anchX, this.anchY);
 }
Пример #3
0
 public void RecordToOrig(Boundarier bounds)
 {
 }
Пример #4
0
 public void UpdateBounds(Boundarier bounds)
 {
     if (this.MoveTo)
     {
         bounds.NewPos(this.MoveX, this.MoveY);
     }
 }
Пример #5
0
 public void RecordToOrig(Boundarier bounds)
 {
     this.MoveX -= bounds.difX;
     this.MoveY -= bounds.difY;
     if (!this.MoveTo)
     {
         this.MoveTo = (bounds.difX != 0) || (bounds.difY != 0);
     }
 }