TODO check
This commit is contained in:
parent
5766fa1d00
commit
40af2b39bd
|
|
@ -43,7 +43,8 @@ public class Simulator extends Thread {
|
||||||
fieldSurviveValues = new ArrayList<Integer>();
|
fieldSurviveValues = new ArrayList<Integer>();
|
||||||
|
|
||||||
//TODO : add missing attribute initialization
|
//TODO : add missing attribute initialization
|
||||||
|
field = new int[LINE_NUM][COL_NUM]; // Initialize the field
|
||||||
|
//DONE
|
||||||
|
|
||||||
|
|
||||||
//Default rule : Survive always, birth never
|
//Default rule : Survive always, birth never
|
||||||
|
|
@ -412,6 +413,7 @@ public class Simulator extends Thread {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//DONE
|
||||||
|
|
||||||
private Agent createAgent(String agentData) {
|
private Agent createAgent(String agentData) {
|
||||||
String[] parts = agentData.split(",");
|
String[] parts = agentData.split(",");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue