mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 10:19:46 +02:00
qwoiejqiwejq
This commit is contained in:
@@ -54,7 +54,8 @@ public class CollisionHandler {
|
|||||||
public static void tick() {
|
public static void tick() {
|
||||||
for (int i=1; i<movingObjects.size();i++) {
|
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) {
|
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