diff options
Diffstat (limited to 'src/Q9/Robot.java')
| -rw-r--r-- | src/Q9/Robot.java | 6 |
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; } |
