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