fall
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user