@Test public void testGetMinModifier() { assertEquals(MIN_STR, potion1.getMinModifier()); assertEquals(MAX_STR, potion2.getMinModifier()); }
public int getMinModifier() { return ((TemporalStatModifyingItemProperties) properties).getMinModifier(); }
StrengthPotion extends ConsumableItem { public int getMinModifier() { return ((TemporalStatModifyingItemProperties) properties).getMinModifier(); } }
StrengthPotion extends ConsumableItem { public int getMinModifier() { return ((TemporalStatModifyingItemProperties) properties).getMinModifier(); } StrengthPotion(TemporalStatModifyingItemProperties properties, int amount); }
StrengthPotion extends ConsumableItem { public int getMinModifier() { return ((TemporalStatModifyingItemProperties) properties).getMinModifier(); } StrengthPotion(TemporalStatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinModifier(); int getMaxModifier(); int getEffectDuration(); }
StrengthPotion extends ConsumableItem { public int getMinModifier() { return ((TemporalStatModifyingItemProperties) properties).getMinModifier(); } StrengthPotion(TemporalStatModifyingItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinModifier(); int getMaxModifier(); int getEffectDuration();  }