restart 2

This commit is contained in:
Laure BEL 2024-05-29 18:13:45 +02:00
parent c9ad5776e1
commit ef2f09509e
1 changed files with 3 additions and 20 deletions

View File

@ -50,9 +50,9 @@ public class Simulator extends Thread {
//Default rule : Survive always, birth never
//for(int i =0; i<9; i++) {
// fieldSurviveValues.add(i);
//}
for(int i =0; i<9; i++) {
fieldSurviveValues.add(i);
}
}
@ -63,24 +63,7 @@ public class Simulator extends Thread {
public int getHeight() {
return LINE_NUM;
}
<<<<<<< HEAD
=======
public World getWorld(){
return world;
}
public int getCell(int x, int y) {
return world.getCell(x, y);
}
public void setWorld(World world) {
this.world = world;
}
>>>>>>> branch 'master' of https://gitarero.ecam.fr/laure.bel/OOP_F3_Project.git
//Should probably stay as is
public void run() {
stepCount=0;