@Test public void testGetPiercingDamage() { assertEquals(PIERCING_DAMAGE, weapon1.getPiercingDamage()); assertEquals(PIERCING_DAMAGE, weapon2.getPiercingDamage()); }
public int getPiercingDamage() { return ((WeaponProperties) properties).getPiercingDamage(); }
Weapon extends AbstractEquipableItem { public int getPiercingDamage() { return ((WeaponProperties) properties).getPiercingDamage(); } }
Weapon extends AbstractEquipableItem { public int getPiercingDamage() { return ((WeaponProperties) properties).getPiercingDamage(); } Weapon(WeaponProperties properties, int amount); }
Weapon extends AbstractEquipableItem { public int getPiercingDamage() { return ((WeaponProperties) properties).getPiercingDamage(); } 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 getPiercingDamage() { return ((WeaponProperties) properties).getPiercingDamage(); } Weapon(WeaponProperties properties, int amount); @Override Item clone(); @Override void use(Character character); boolean getStabs(); int getPiercingDamage(); int getMinHit(); int getMaxHit(); int getDamage();  }