//-*-java-*- per class coordinator Worm { Point[][] locations = new Point[3][]; Point[] nexts = new Point[3]; condition[] blocked = new boolean[3]; run { on entry { locations[id] = coords; } } newDirection { on exit { nexts[id] = next; for(int i=0;i<3;i++) if(i != id) for(int j=0;j