public override IBoundingBox Clone() { //do not forget to assinge BoundingContainer after clone BoundingCircleZentripush bL = new BoundingCircleZentripush(this.radius, new Vector(this.Position.X - this.radius, this.Position.Y - this.radius)); return bL; }
protected override void Init() { BoundingCircleZentripush bC = new BoundingCircleZentripush(15, new Vector(0, 0)); this.BoundingContainer.AddBoundingBox(bC); bC.AssignToContainer(this.BoundingContainer); }