Browse Source

Whoops

master
Ben Kurtovic 12 years ago
parent
commit
41c1b74bd5
2 changed files with 3 additions and 4 deletions
  1. +1
    -2
      .gitignore
  2. +2
    -2
      src/Grid.java

+ 1
- 2
.gitignore View File

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


+ 2
- 2
src/Grid.java View File

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


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


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


Loading…
Cancel
Save