tried making the glider work
This commit is contained in:
parent
5663bc5030
commit
be88fc0918
|
|
@ -129,10 +129,11 @@ public class Simulator extends Thread {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
world = newWorld;
|
||||
|
||||
|
||||
|
||||
ArrayList<Agent> newAgents = new ArrayList<>();
|
||||
for(Agent agent : agents) {
|
||||
ArrayList<Agent> neighbors =
|
||||
this.getNeighboringAnimals(
|
||||
|
|
|
|||
Loading…
Reference in New Issue