TODO check

This commit is contained in:
titou 2024-05-27 17:33:54 +02:00
parent 5766fa1d00
commit 40af2b39bd
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,8 @@ public class Simulator extends Thread {
fieldSurviveValues = new ArrayList<Integer>();
//TODO : add missing attribute initialization
field = new int[LINE_NUM][COL_NUM]; // Initialize the field
//DONE
//Default rule : Survive always, birth never
@ -412,6 +413,7 @@ public class Simulator extends Thread {
}
}
}
//DONE
private Agent createAgent(String agentData) {
String[] parts = agentData.split(",");