ソースを参照

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

master
Kevin Li 11年前
コミット
3fb698a32b
1個のファイルの変更8行の追加0行の削除
  1. +8
    -0
      src/Grid.java

+ 8
- 0
src/Grid.java ファイルの表示

@@ -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++) {


読み込み中…
キャンセル
保存