@@ -0,0 +1,793 @@
+/*%0A%0AProgrammers: Kris Larson%0A%0ADescription: A node class to create memory for storage in%0A   memory structures. This is separated from energy sources%0A   which are not stored in the robot's memory.%0A%0A*/%0A%0Aimport java.awt.*;%0A%0Apublic class Memory %7B%0A   private Point foodLocation;%0A   private double foodAmount;%0A   %0A   public Memory(Point place, double amount) %7B%0A      foodLocation = place;%0A      foodAmount = amount;%0A   %7D %0A   %0A   public double getFood (double need) %7B%0A      if (foodAmount %3E need) %7B%0A         foodAmount -= need;%0A         return need;%0A      %7D%0A      else %7B%0A         double food = foodAmount;%0A         foodAmount = 0;%0A         return food;%0A      %7D%0A   %7D%0A   %0A   public Point getFoodLocation() %7B%0A      return foodLocation;%0A   %7D  %0A%09%0A%09public double getFoodInside() %7B%0A%09%09return foodAmount;%0A%09%7D%0A%7D%0A

Create Memory.java