private double getWeigthFoodAttraction() {
   return buffer.getFloat(WEIGHT_FOOD_ATTRACTION.getOffset());
 }
 private void setWeightFoodAttraction(double weight) {
   buffer.putFloat(WEIGHT_FOOD_ATTRACTION.getOffset(), (float) weight);
   dirty = true;
 }