This commit is contained in:
parent
c675915726
commit
91f6f870de
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue