Created
May 30, 2016 02:57
-
-
Save anonymous/4b01dab8853d5926bce3b0d5a3023d61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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