@Test public void testGetMinHit() { assertEquals(MIN_HIT, weapon1.getMinHit()); assertEquals(MAX_HIT, weapon2.getMinHit()); }
public int getMinHit() { return ((WeaponProperties) properties).getMinHit(); }
Weapon extends AbstractEquipableItem { public int getMinHit() { return ((WeaponProperties) properties).getMinHit(); } }
Weapon extends AbstractEquipableItem { public int getMinHit() { return ((WeaponProperties) properties).getMinHit(); } Weapon(WeaponProperties properties, int amount); }
Weapon extends AbstractEquipableItem { public int getMinHit() { return ((WeaponProperties) properties).getMinHit(); } Weapon(WeaponProperties properties, int amount); @Override Item clone(); @Override void use(Character character); boolean getStabs(); int getPiercingDamage(); int getMinHit(); int getMaxHit(); int getDamage(); }
Weapon extends AbstractEquipableItem { public int getMinHit() { return ((WeaponProperties) properties).getMinHit(); } Weapon(WeaponProperties properties, int amount); @Override Item clone(); @Override void use(Character character); boolean getStabs(); int getPiercingDamage(); int getMinHit(); int getMaxHit(); int getDamage();  }