summaryrefslogtreecommitdiff
path: root/src/Robot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Robot.java')
-rw-r--r--src/Robot.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Robot.java b/src/Robot.java
index de7943f..b0bca1a 100644
--- a/src/Robot.java
+++ b/src/Robot.java
@@ -501,6 +501,13 @@ class Robot extends BetterBase {
}
/**
+ * Resets the position on the track to the begin.
+ */
+ public void resetPosition() {
+ robot_time_pos = 0;
+ }
+
+ /**
* Returns the lane number on which the robot should walk.
*/
public int getLane() {