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.getY(),
ANIMAL_AREA_RADIUS);}
if(!agent.liveTurn(
neighbors,
this)) {
agents.remove(agent);
{
//if(!agent.liveTurn(
// neighbors,
// this)) {
// agents.remove(agent);
//{
}
//then evolution of the field