created baseworld
This commit is contained in:
parent
5c61effc36
commit
c3c07f8db2
|
|
@ -310,7 +310,7 @@ public class Simulator extends Thread {
|
||||||
ArrayList<String> rule = new ArrayList<>();
|
ArrayList<String> rule = new ArrayList<>();
|
||||||
for (int i = 0; i < getHeight(); i++) {
|
for (int i = 0; i < getHeight(); i++) {
|
||||||
StringBuilder lineState = new StringBuilder();
|
StringBuilder lineState = new StringBuilder();
|
||||||
for (int j = 0 ; j < getHeight() ; j++) { // je crois qu'il y a un probleme, il faut mettre getWidth je crois
|
for (int j = 0 ; j < getHeight() ; j++) { // je crois qu'il y a un probleme, il fau+t mettre getWidth je crois
|
||||||
lineState.append(getCell(i, j));
|
lineState.append(getCell(i, j));
|
||||||
if (j < getWidth() - 1) {
|
if (j < getWidth() - 1) {
|
||||||
lineState.append(";");
|
lineState.append(";");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue