Browse Source

Missed a couple.

master
Ben Kurtovic 12 years ago
parent
commit
8e46e50d33
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Grid.java

+ 2
- 2
src/Grid.java View File

@@ -10,10 +10,10 @@ public class Grid {
} }


public Grid(int x, int y) { public Grid(int x, int y) {
_grid = new Patch[x][y];
_grid = new Patch[y][x];
for (int i = 0; i < x; i++) { for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) { for (int j = 0; j < y; j++) {
_grid[i][j] = new Patch(this, i, j, 0, "");
_grid[j][i] = new Patch(this, i, j, 0, "");
} }
} }
} }


Loading…
Cancel
Save