@Test public void testGetMaxThirst() { assertEquals(MAX_THIRST, drink1.getMaxThirst()); assertEquals(MAX_THIRST, drink2.getMaxThirst()); }
public int getMaxThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); }
Drink extends ConsumableItem { public int getMaxThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } }
Drink extends ConsumableItem { public int getMaxThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } Drink(StatModifyingItemProperties properties, int amount); }
Drink extends ConsumableItem { public int getMaxThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } Drink(StatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinThirst(); int getMaxThirst(); }
Drink extends ConsumableItem { public int getMaxThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } Drink(StatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinThirst(); int getMaxThirst();  }