@Test public void testGetMinHit() { assertEquals(MIN_HIT, ammunition1.getMinHit()); assertEquals(MAX_HIT, ammunition2.getMinHit()); }
public int getMinHit() { return ((AmmunitionProperties) properties).getMinHit(); }
Ammunition extends AbstractEquipableItem { public int getMinHit() { return ((AmmunitionProperties) properties).getMinHit(); } }
Ammunition extends AbstractEquipableItem { public int getMinHit() { return ((AmmunitionProperties) properties).getMinHit(); } Ammunition(AmmunitionProperties properties, int amount); }
Ammunition extends AbstractEquipableItem { public int getMinHit() { return ((AmmunitionProperties) properties).getMinHit(); } Ammunition(AmmunitionProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHit(); int getMaxHit(); int getDamage(); }
Ammunition extends AbstractEquipableItem { public int getMinHit() { return ((AmmunitionProperties) properties).getMinHit(); } Ammunition(AmmunitionProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHit(); int getMaxHit(); int getDamage();  }