move function
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user