Finally function ajhefvuipgr"uiphgpiua"re^vez dbp_ugiél

This commit is contained in:
Timéo 2024-05-30 12:08:44 +02:00
parent cf3646307b
commit 0cfe8fc9b5
1 changed files with 5 additions and 11 deletions

View File

@ -11,8 +11,8 @@ public class Simulator extends Thread {
private MyInterface mjf;
private int COL_NUM = 10;
private int LINE_NUM = 10;
private int COL_NUM = 100;
private int LINE_NUM = 100;
private final int LIFE_TYPE_NUM = 4;
//Conway Radius : 1
private final int LIFE_AREA_RADIUS = 1;
@ -31,8 +31,8 @@ public class Simulator extends Thread {
private int[][] world;
//private int[] survivalRulesArray;
//private int[] birthRulesArray;
private int[] birthRulesArrays;
private int[] surviveRulesArrays;
private int[] birthRulesArrays = new int[0];
private int[] surviveRulesArrays = new int[0];
//TODO : add missing attribute(s)
private int stepCount;
@ -609,15 +609,9 @@ public class Simulator extends Thread {
public void startSimulation() {
if (isWorldEmpty() & getWidth()==100 & getHeight()==100) {
mjf.clicLoadFileButtonCSV("World/baseworld.csv");
}else {
mjf.generateRandomBoard();
}
}
}