@@ -0,0 +1,792 @@
+package pathfinder;%0A%0Aimport java.awt.Point;%0A%0Apublic class Robot %7B%0A%09private Point start;%0A%09private Point end;%0A%09%0A%09/*%0A%09 * Constructor for  the robot class,%0A%09 * taking starting and ending coordinates%0A%09 */%0A%09public Robot(int sx, int sy, int ex, int ey)%7B%0A%09%09start=new Point();%0A%09%09end=new Point();%0A%09%09setStart(sx, sy);%0A%09%09setEnd(ex, ey);%0A%09%7D%0A%09%0A%09/*%0A%09 * Setter function for the starting coordinate%0A%09 */%0A%09private void setStart(int sx, int sy)%7B%0A%09%09start.x = sx;%0A%09%09start.y = sy;%0A%09%7D%0A%09%0A%09/*%0A%09 * Setter function for the ending coordinate%0A%09 */%0A%09private void setEnd(int ex, int ey)%7B%0A%09%09end.x = ex;%0A%09%09end.y = ey;%0A%09%7D%0A%09%0A%09/*%0A%09 * Getter function for the starting coordinate%0A%09 */%0A%09public Point getStart()%7B%0A%09%09return start;%0A%09%7D%0A%09%0A%09/*%0A%09 * Getter function for the ending coordinate%0A%09 */%0A%09public Point getEnd()%7B%0A%09%09return end;%0A%09%7D%0A%7D%0A

Create Robot.java