summaryrefslogtreecommitdiff
path: root/src/Q9/Robot.java
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2019-08-11 18:34:29 -0600
committermo khan <mo@mokhan.ca>2019-08-11 18:34:29 -0600
commitae42b62aa6e75c172e450ab397ab902c40697b9b (patch)
treeb519030b8be96c207433856eb7724af030779e92 /src/Q9/Robot.java
parentd4932bfe4b6468fb4622bc9d6765d30c44d7edeb (diff)
fix javadoc
Diffstat (limited to 'src/Q9/Robot.java')
-rw-r--r--src/Q9/Robot.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Q9/Robot.java b/src/Q9/Robot.java
index ee495e6..6f9d2c0 100644
--- a/src/Q9/Robot.java
+++ b/src/Q9/Robot.java
@@ -66,7 +66,11 @@ public class Robot {
this.y = y;
}
- /** @return true if the robot is at the given coordinate */
+ /**
+ * @param x the x coordinate
+ * @param y the y coordinate
+ * @return true if the robot is at the given coordinate
+ * */
public boolean atPosition(int x, int y) {
return getX() == x && getY() == y;
}