This commit is contained in:
Timéo 2024-05-27 12:31:59 +02:00
parent c675915726
commit 91f6f870de
1 changed files with 5 additions and 5 deletions

View File

@ -143,11 +143,11 @@ public class Simulator extends Thread {
agent.getX(), agent.getX(),
agent.getY(), agent.getY(),
ANIMAL_AREA_RADIUS);} ANIMAL_AREA_RADIUS);}
if(!agent.liveTurn( //if(!agent.liveTurn(
neighbors, // neighbors,
this)) { // this)) {
agents.remove(agent); // agents.remove(agent);
{ //{
} }
//then evolution of the field //then evolution of the field