public void updatePosition() { if (moved && childSegment != null) { childSegment.updatePosition(); moved = false; } }
public void updatePosition() { computePosition(); if (childSegment != null) { childSegment.updatePosition(); } }