public class Holk extends Ship implements IHolk
numberOfSailorsProperty, passengerPresentPropertynumberOfSailorsProperty, passengerPresentPropertyfitness, name, shipUpgradeLevel| Constructor and Description |
|---|
Holk(EShipUpgrade upgradeLevel,
String name,
Properties shipConfiguration,
long timestamp)
Constructor initializing the name and the upgrade level
|
Holk(String name,
Properties shipConfiguration,
long timestamp)
Constructor for a Crayer without any upgrade
|
| Modifier and Type | Method and Description |
|---|---|
EShipType |
getShipType()
Retrieve the type of the ship.
|
void |
repair()
Repair the damage
|
addPassenger, clearLoadedWares, damage, getCapacity, getCurrentSpeed, getDamage, getLoadableSpace, getLoadBinding, getLoadedWares, getMaxNumberOfSailors, getNumberOfSailors, getOwner, getPirateFlag, getTopSpeed, getUpgradeSpaceReduction, getValue, getWare, getWeaponAmount, hasWeapons, isUpgradable, leavePassanger, load, move, numberOfSailorsProperty, passengerPresentProperty, setCaptain, setNumberOfSailors, setOwner, togglePirateFlag, unload, upgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPassenger, getDistanceInKmForOneHealthPointReduction, getMaxNumberOfSailors, getMinNumberOfSailors, getOccupiedSpace, getPassenger, getShipUpgradeLevel, getShipWeaponsLocation, getUpgradeSpaceReduction, getValue, hasWeapons, isAvailable, isUpgradable, leavePassanger, move, numberOfSailorsProperty, passengerPresentProperty, setAvailable, setCaptain, setName, setNumberOfSailors, setOccupiedSpace, setOwner, setShipWeaponsLocation, upgradedamage, getCapacity, getCaptian, getCurrentSpeed, getDamage, getLoadableSpace, getLoadBinding, getLoadedWares, getLocation, getName, getNumberOfSailors, getOwner, getPirateFlag, getSize, getTopSpeed, getUuid, getWare, getWeaponAmount, load, setLocation, togglePirateFlag, unloadpublic Holk(EShipUpgrade upgradeLevel, String name, Properties shipConfiguration, long timestamp)
upgradeLevel - name - ships nameshipConfiguration - configuration propertiespublic Holk(String name, Properties shipConfiguration, long timestamp)
name - ships nameshipConfiguration - configuration propertiespublic void repair()
IShippublic EShipType getShipType()
IShipgetShipType in interface IShipCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.