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