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