150151152153154155156157158159160
{ Iterator<PathSegment> i = active.iterator(); while (i.hasNext()) { PathSegment pat = i.next(); if ( pat.step() ) { pat.isDead = true; i.remove(); } }