This commit is contained in:
Lukian LEIZOUR 2024-03-23 22:25:48 +01:00
parent 02e5e9c6c9
commit 8dce30c382
2 changed files with 2 additions and 1 deletions

View file

@ -122,7 +122,7 @@ public class Universe {
}
public void changeUniverseDim(int width, int height) {
int [][] newgrid = new int[width][height];
int [][] newgrid = new int[height][width];
for (int i = 1; i < height - 1; i++) {
for (int j = 1; j < width - 1; j++) {