From 41c1b74bd5cf12fdd1108e79f39470c16d7d6222 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 14 Jan 2013 10:12:31 -0500 Subject: [PATCH] Whoops --- .gitignore | 3 +-- src/Grid.java | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f42c311..68345f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ *.class - +*.java~ bin/* - .ant_targets # Package Files # diff --git a/src/Grid.java b/src/Grid.java index ba28694..ca18d64 100644 --- a/src/Grid.java +++ b/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)