@Test public void testGetUsageDifficulty() { assertEquals(USAGE_DIFFICULTY, boat1.getUsageDifficulty()); assertEquals(USAGE_DIFFICULTY, boat2.getUsageDifficulty()); }
public int getUsageDifficulty() { return ((BoatProperties) properties).getUsageDifficulty(); }
Boat extends AbstractDefensiveItem { public int getUsageDifficulty() { return ((BoatProperties) properties).getUsageDifficulty(); } }
Boat extends AbstractDefensiveItem { public int getUsageDifficulty() { return ((BoatProperties) properties).getUsageDifficulty(); } Boat(BoatProperties properties, int amount); }
Boat extends AbstractDefensiveItem { public int getUsageDifficulty() { return ((BoatProperties) properties).getUsageDifficulty(); } Boat(BoatProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHit(); int getMaxHit(); int getDamageBonus(); @Override boolean canBeStolen(); int getUsageDifficulty(); }
Boat extends AbstractDefensiveItem { public int getUsageDifficulty() { return ((BoatProperties) properties).getUsageDifficulty(); } Boat(BoatProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHit(); int getMaxHit(); int getDamageBonus(); @Override boolean canBeStolen(); int getUsageDifficulty();  }