restart 2
This commit is contained in:
parent
c9ad5776e1
commit
ef2f09509e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue