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