Explorar el Código

Merge branch 'master' of github.com:earwig/goldfish

master
Kevin Li hace 11 años
padre
commit
3fb698a32b
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. +8
    -0
      src/Grid.java

+ 8
- 0
src/Grid.java Ver fichero

@@ -18,6 +18,14 @@ public class Grid {
}
}

public Patch getPatch (int x, int y) {
return _grid[x][y];
}

public void setPatch (int x, int y, Patch p) {
_grid[x][y] = p;
}

public String toString() {
String ans = "";
for(int i = 0; i < _grid.length; i++) {


Cargando…
Cancelar
Guardar