Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public void UpdateBounds(Boundarier bounds)
 {
     bounds.UpdatePos(this.posX, this.posY);
     bounds.UpdatePos(this.anchX, this.anchY);
 }
Exemplo n.º 3
0
 public void RecordToOrig(Boundarier bounds)
 {
 }
Exemplo n.º 4
0
 public void UpdateBounds(Boundarier bounds)
 {
     if (this.MoveTo)
     {
         bounds.NewPos(this.MoveX, this.MoveY);
     }
 }
Exemplo n.º 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);
     }
 }