move function

This commit is contained in:
Leen Dereu
2018-02-27 12:41:04 +01:00
parent 05a795b493
commit 200e8e338a

View File

@@ -155,7 +155,8 @@ public class Worm {
} }
/** /**
* @param NumberSteps ... * @param NumberSteps
* the number of steps the worm should take
* *
* @post the new x-coordinate schould be the old one plus the number of steps multiplied * @post the new x-coordinate schould be the old one plus the number of steps multiplied
* with the distance of a step in the x-orientation * with the distance of a step in the x-orientation