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