qwoiejqiwejq
This commit is contained in:
1 parent
56597fee59
commit
6463b7b73e
1 file changed
+2
-1
@@ -54,7 +54,8 @@ public class CollisionHandler {
|
||||
public static void tick() {
|
||||
for (int i=1; i<movingObjects.size();i++) {
|
||||
if (movingObjects.get(0).getGridLocation().x== movingObjects.get(i).getGridLocation().x && movingObjects.get(0).getGridLocation().y == movingObjects.get(i).getGridLocation().y) {
|
||||
|
||||
System.exit(0);
|
||||
//uncool
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user