public void update()
   {
      if(SugarPanel.getAgentGrid()[getX()][getY()] == null)
      {
         if (sugar < saturated)
            sugar +=rate;
         if (sugar > saturated)
            sugar = saturated;
      }
   }