Actualiser src/backend/Simulator.java
This commit is contained in:
parent
ff0ad5968c
commit
3598d99e4f
|
|
@ -226,19 +226,6 @@ public class Simulator extends Thread {
|
||||||
int currentCellValue = getCell(x, y);
|
int currentCellValue = getCell(x, y);
|
||||||
// set cell value to !currentCellValue
|
// set cell value to !currentCellValue
|
||||||
}
|
}
|
||||||
|
|
||||||
public void countAround(int x, int y) {
|
|
||||||
//enableLogs
|
|
||||||
//getCell
|
|
||||||
//if loopingBorder TRUE, border count as living.
|
|
||||||
if (loopingBorder == true){
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
@ -302,7 +289,7 @@ public class Simulator extends Thread {
|
||||||
|
|
||||||
public boolean isLoopingBorder() {
|
public boolean isLoopingBorder() {
|
||||||
//TODO : complete method with proper return
|
//TODO : complete method with proper return
|
||||||
return false;
|
return loopingBorder;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void toggleLoopingBorder() {
|
public void toggleLoopingBorder() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue