@Test public void testGetMinHP() { assertEquals(MIN_HP, potion1.getMinHP()); assertEquals(MAX_HP, potion2.getMinHP()); }
public int getMinHP() { return ((StatModifyingItemProperties) properties).getMinModifier(); }
HPPotion extends ConsumableItem { public int getMinHP() { return ((StatModifyingItemProperties) properties).getMinModifier(); } }
HPPotion extends ConsumableItem { public int getMinHP() { return ((StatModifyingItemProperties) properties).getMinModifier(); } HPPotion(StatModifyingItemProperties properties, int amount); }
HPPotion extends ConsumableItem { public int getMinHP() { return ((StatModifyingItemProperties) properties).getMinModifier(); } HPPotion(StatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHP(); int getMaxHP(); }
HPPotion extends ConsumableItem { public int getMinHP() { return ((StatModifyingItemProperties) properties).getMinModifier(); } HPPotion(StatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHP(); int getMaxHP();  }