@Test public void testGetThirst() { assertEquals(THIRST, bottle1.getThirst()); assertEquals(THIRST, bottle2.getThirst()); }
public int getThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); }
FilledBottle extends ConsumableItem { public int getThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } }
FilledBottle extends ConsumableItem { public int getThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } FilledBottle(RefillableStatModifyingItemProperties properties, int amount); }
FilledBottle extends ConsumableItem { public int getThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } FilledBottle(RefillableStatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getThirst(); }
FilledBottle extends ConsumableItem { public int getThirst() { return ((StatModifyingItemProperties) properties).getMaxModifier(); } FilledBottle(RefillableStatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getThirst();  }