ソースを参照

Whoops

master
Ben Kurtovic 11年前
コミット
41c1b74bd5
2個のファイルの変更3行の追加4行の削除
  1. +1
    -2
      .gitignore
  2. +2
    -2
      src/Grid.java

+ 1
- 2
.gitignore ファイルの表示

@@ -1,7 +1,6 @@
*.class
*.java~
bin/*
.ant_targets
# Package Files #


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

@@ -18,7 +18,7 @@ public class Grid {
}
}

private static int normalizeX(int x) {
private int normalizeX(int x) {
while (x >= getWidth())
x -= getWidth();
while (x < 0)
@@ -26,7 +26,7 @@ public class Grid {
return x;
}

private static int normalizeY(int y) {
private int normalizeY(int y) {
while (y >= getHeight())
y -= getHeight();
while (y < 0)


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