Error import wegwerken
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user