@Test public void testUse() { final Character character = mock(Character.class); boat1.use(character); boat2.use(character); }
@Override public void use(Character character) { }
Boat extends AbstractDefensiveItem { @Override public void use(Character character) { } }
Boat extends AbstractDefensiveItem { @Override public void use(Character character) { } Boat(BoatProperties properties, int amount); }
Boat extends AbstractDefensiveItem { @Override public void use(Character character) { } 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 { @Override public void use(Character character) { } Boat(BoatProperties properties, int amount); @Override Item clone(); @Override void use(Character character); int getMinHit(); int getMaxHit(); int getDamageBonus(); @Override boolean canBeStolen(); int getUsageDifficulty();  }