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