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); }