Merge branch 'master' of
https://gitarero.ecam.fr/laure.bel/OOP_F3_Project.git
This commit is contained in:
commit
c9ad5776e1
|
|
@ -50,9 +50,9 @@ public class Simulator extends Thread {
|
||||||
|
|
||||||
|
|
||||||
//Default rule : Survive always, birth never
|
//Default rule : Survive always, birth never
|
||||||
for(int i =0; i<9; i++) {
|
//for(int i =0; i<9; i++) {
|
||||||
fieldSurviveValues.add(i);
|
// fieldSurviveValues.add(i);
|
||||||
}
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -63,7 +63,24 @@ public class Simulator extends Thread {
|
||||||
public int getHeight() {
|
public int getHeight() {
|
||||||
return LINE_NUM;
|
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
|
//Should probably stay as is
|
||||||
public void run() {
|
public void run() {
|
||||||
stepCount=0;
|
stepCount=0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue