@Test public void testGetMinMana() { assertEquals(MIN_MANA, potion1.getMinMana()); assertEquals(MAX_MANA, potion2.getMinMana()); }
public int getMinMana() { return ((StatModifyingItemProperties) properties).getMinModifier(); }
ManaPotion extends ConsumableItem { public int getMinMana() { return ((StatModifyingItemProperties) properties).getMinModifier(); } }
ManaPotion extends ConsumableItem { public int getMinMana() { return ((StatModifyingItemProperties) properties).getMinModifier(); } ManaPotion(StatModifyingItemProperties properties, int amount); }
ManaPotion extends ConsumableItem { public int getMinMana() { return ((StatModifyingItemProperties) properties).getMinModifier(); } ManaPotion(StatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinMana(); int getMaxMana(); }
ManaPotion extends ConsumableItem { public int getMinMana() { return ((StatModifyingItemProperties) properties).getMinModifier(); } ManaPotion(StatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinMana(); int getMaxMana();  }