commit
This commit is contained in:
parent
02e5e9c6c9
commit
8dce30c382
2 changed files with 2 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue