示例#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);
     }
 }