This commit is contained in:
Leen Dereu
2018-04-13 18:35:43 +02:00
parent ebb59b589c
commit 5171f36916

View File

@@ -842,16 +842,7 @@ public class Worm extends GameObject {
setLocation(newLoc); setLocation(newLoc);
break; break;
} }
// for (double i = y; i >= y - 1; i = i - 0.1) {
// double[] newLocation = {oldLocation.getX(), i};
// if (! getWorld().isPassable(newLocation, getRadius())) {
// setLocation(newLocation);
// endY = i;
// break;
// }
// }
} }
terminate(); terminate();
} }