Commit 85d7dced authored by gsavin's avatar gsavin

Fix loop() method to call stepBegins() to produce step events

parent 62edb577
......@@ -398,15 +398,15 @@ public class BoidGraph extends AdjacencyListGraph {
loop = true;
while (loop) {
pbox.step();
stepBegins(step);
for (BoidSpecies sp : boidSpecies.values())
sp.terminateLoop();
sleep(sleepTime);
step++;
if (maxSteps > 0 && step > maxSteps)
loop = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment