Skip to content

Instantly share code, notes, and snippets.

Created May 30, 2016 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4b01dab8853d5926bce3b0d5a3023d61 to your computer and use it in GitHub Desktop.
Save anonymous/4b01dab8853d5926bce3b0d5a3023d61 to your computer and use it in GitHub Desktop.
package net.terrocidepvp.goldenapplecontrol.handlers;
import java.util.List;
public class ConsumptionControl {
private final int foodLevel;
private final float saturation;
private final List<String> effects;
public ConsumptionControl(final int foodLevel,
final float saturation,
final List<String> effects) {
this.foodLevel = foodLevel;
this.saturation = saturation;
this.effects = effects;
}
public int getFoodLevel() {
return foodLevel;
}
public float getSaturation() {
return saturation;
}
public List<String> getEffects() {
return effects;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment