Error import wegwerken

This commit is contained in:
Leen Dereu
2018-03-06 20:03:06 +01:00
parent 41128b67a4
commit 94357661af

View File

@@ -177,8 +177,6 @@ public class Worm {
setdirection((this.direction + angleToAdd)%(2 * Math.PI)); setdirection((this.direction + angleToAdd)%(2 * Math.PI));
} }
private void updatePoints (double value) { private void updatePoints (double value) {
this.points -= (int) Math.round(Math.toDegrees(value) / 2); this.points -= (int) Math.round(Math.toDegrees(value) / 2);