aboutsummaryrefslogtreecommitdiff
path: root/Week4
diff options
context:
space:
mode:
authorCamil Staps2015-02-27 14:12:53 +0100
committerCamil Staps2015-02-27 14:12:53 +0100
commitce64c104ae2a7642f646e46dcebfbe22da376d7b (patch)
treebdf80dd74ef3b8cc5d047a7e7292e55da7b8a167 /Week4
parentFinished week 4 (diff)
Added comments
Diffstat (limited to 'Week4')
-rw-r--r--Week4/src/oo15loipe/Loipe.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/Week4/src/oo15loipe/Loipe.java b/Week4/src/oo15loipe/Loipe.java
index ff034c0..4d87661 100644
--- a/Week4/src/oo15loipe/Loipe.java
+++ b/Week4/src/oo15loipe/Loipe.java
@@ -191,6 +191,9 @@ public class Loipe implements InfoLoipe {
return start;
}
+ /**
+ * We chose to have the man go back to the start when he has finished the loipe.
+ */
@Override
public Punt stap() {
if (path_pointer >= path.length) {