Class CrewEntityDef
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractEntityDef
-
- de.extio.spacecraft.shared.model.entity.builtin.def.PhysicalEntityDef
-
- de.extio.spacecraft.shared.model.entity.builtin.def.CrewEntityDef
-
- All Implemented Interfaces:
CraftableEntityDef
,ProcessableEntityDef
,StorageProviderEntityDef
,UpgradeableEntityDef
public class CrewEntityDef extends PhysicalEntityDef implements StorageProviderEntityDef
Base for crew entities
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.extio.spacecraft.shared.model.entity.builtin.def.PhysicalEntityDef
PhysicalEntityDef.PhysicalEntitySizeCategory, PhysicalEntityDef.PhysicalEntityTilesetPosesMode
-
Nested classes/interfaces inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntityDef
AbstractEntityDef.PlacementCompatibility
-
-
Constructor Summary
Constructors Constructor Description CrewEntityDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getHealPerTurn()
double
getO2Damage()
int
getReviveTurns()
int
getStorageCapacity()
int
getTilesetRows()
boolean
isStorageAllowRemoteOperations()
void
setHealPerTurn(double healPerTurn)
void
setO2Damage(double o2Damage)
void
setReviveTurns(int reviveTurns)
void
setStorageCapacity(int storageCapacity)
void
setTilesetRows(int tilesetRows)
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.builtin.def.PhysicalEntityDef
getAnimationTiles, getAudioOnDamage, getAudioOnDamageElementPriority, getAudioOnDestroyed, getAudioOnDestroyedElementPriority, getCraftingCategory, getDamagePlateau, getEmBaseEmission, getHealth, getMass, getNoOperatorTilesetPosition, getOnDamageSplitThreshold, getProcessingCategory, getRepairAmountPerTurn, getSizeCategory, getTilesetDisabled, getTilesetInoperable, getTilesetPoseIntervalMax, getTilesetPoseIntervalMin, getTilesetPoseMode, getTilesetPoses, getUpgradeCategory, getUpgradeTo, isAnimatedMovement, isConsoleControl, isConsoleControlEnabledState, isHideHealthBar, isNeedsOperator, isNeedsOperatorLogin, isOnDamageDestroyImmediately, isOnDamageSplit, isOperating, isPlayerCommandsMove, isRepairable, isRestrictedSkipSumHealth, isSelectable, setAnimatedMovement, setAnimationTiles, setAudioOnDamage, setAudioOnDamageElementPriority, setAudioOnDestroyed, setAudioOnDestroyedElementPriority, setConsoleControl, setConsoleControlEnabledState, setCraftingCategory, setDamagePlateau, setEmBaseEmission, setHealth, setHideHealthBar, setMass, setNeedsOperator, setNeedsOperatorLogin, setNoOperatorTilesetPosition, setOnDamageDestroyImmediately, setOnDamageSplit, setOnDamageSplitThreshold, setOperating, setPlayerCommandsMove, setProcessingCategory, setRepairable, setRepairAmountPerTurn, setRestrictedSkipSumHealth, setSelectable, setSizeCategory, setTilesetDisabled, setTilesetInoperable, setTilesetPoseIntervalMax, setTilesetPoseIntervalMin, setTilesetPoseMode, setTilesetPoses, setUpgradeCategory, setUpgradeTo
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntityDef
getAutoOrientation, getCategory, getDisplayName, getLayer, getLiveEntity, getModName, getPlacementCompatibility, getTileset, getTilesetModName, getTilesetName, getTilesetPosition, getUuid, isEnabled, isPlaceable, setAutoOrientation, setCategory, setDisplayName, setEnabled, setLayer, setLiveEntity, setModName, setPlaceable, setPlacementCompatibility, setTileset, setTilesetModName, setTilesetName, setTilesetPosition, setUuid
-
-
-
-
Method Detail
-
getTilesetRows
public int getTilesetRows()
-
setTilesetRows
public void setTilesetRows(int tilesetRows)
-
getHealPerTurn
public double getHealPerTurn()
-
setHealPerTurn
public void setHealPerTurn(double healPerTurn)
-
getO2Damage
public double getO2Damage()
-
setO2Damage
public void setO2Damage(double o2Damage)
-
getStorageCapacity
public int getStorageCapacity()
- Specified by:
getStorageCapacity
in interfaceStorageProviderEntityDef
-
setStorageCapacity
public void setStorageCapacity(int storageCapacity)
-
isStorageAllowRemoteOperations
public boolean isStorageAllowRemoteOperations()
- Specified by:
isStorageAllowRemoteOperations
in interfaceStorageProviderEntityDef
-
getReviveTurns
public int getReviveTurns()
-
setReviveTurns
public void setReviveTurns(int reviveTurns)
-
-