public void eat(){
      place loc = main.map[x][y];
      if(loc.food >= gatheringSpeed/4){
         this.food += gatheringSpeed/4;
         loc.food -= gatheringSpeed/4;
      }else{
         this.food += loc.food;
         loc.food = 0;
      }
      
   }