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); } }
public void UpdateBounds(Boundarier bounds) { bounds.UpdatePos(this.posX, this.posY); bounds.UpdatePos(this.anchX, this.anchY); }
public void RecordToOrig(Boundarier bounds) { }
public void UpdateBounds(Boundarier bounds) { if (this.MoveTo) { bounds.NewPos(this.MoveX, this.MoveY); } }
public void RecordToOrig(Boundarier bounds) { this.MoveX -= bounds.difX; this.MoveY -= bounds.difY; if (!this.MoveTo) { this.MoveTo = (bounds.difX != 0) || (bounds.difY != 0); } }