@@ -0,0 +1,1375 @@
+/*%0A   Programmers: Kristoffer Larson, Josue Ruiz%0A   Date:%0A   %0A   Description%0A%0A*/%0A%0Aimport SimulationFramework.*;%0Aimport java.awt.Point;%0Aimport java.awt.Color;%0A%0Apublic class Node %7B%0A   %0A   private double g, totalDist;%0A   private Node prev;%0A   private Point p;%0A   private AnimatePanel animatePanel;%0A   %0A   public Node() %7B%0A      //blank Node to initialize animatePanel for drawing%0A   %7D%0A   %0A   public Node(Point p, double g, double h, Node prev) %7B%0A      //p is current the current Node being evaluated%0A      //c is white and size 3 for open set, black and size 2 for closed set%0A      //super(p, Color.WHITE, 3);%0A      this.p = p;%0A      this.g = g;%0A      totalDist = g + h;%0A      this.prev = prev;%0A   %7D//End Node() constructor%0A   %0A   public Point getPoint() %7B%0A      return p;%0A   %7D//End getPoint() method%0A   %0A   //The distance traveled.%0A   public double getDist() %7B%0A      return g;%0A   %7D//End getDist() method%0A   %0A   //The distance traveled + the heuristic distance to the end.%0A   public double getTotalDist() %7B%0A      return totalDist;%0A   %7D//End getTotalDist() method%0A   %0A   public Node getPrev() %7B%0A      return prev;%0A   %7D//End getPrev() method%0A   %0A   public void makeWhite() %7B%0A      addDraw(new Marker(p, Color.WHITE, 3));  %0A   %7D%0A   %0A   private void addDraw(Drawable d) %7B%0A      if (animatePanel != null)%0A      animatePanel.addTemporaryDrawable(d);%0A   %7D//End addDraw%0A   %0A%7D//End class%0A

Create Node.java