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