Class AbstractWeaponEntityDef
- 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.StructureEntityDef
-
- de.extio.spacecraft.shared.model.entity.builtin.def.AbstractWeaponEntityDef
-
- All Implemented Interfaces:
CraftableEntityDef
,LootableEntityDef
,MeshConsumerDef
,ProcessableEntityDef
,StorableEntityDef
,UpgradeableEntityDef
,WeaponEntityDef
public abstract class AbstractWeaponEntityDef extends StructureEntityDef implements WeaponEntityDef, MeshConsumerDef
Base for all weapons
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.extio.spacecraft.shared.model.entity.builtin.def.StructureEntityDef
StructureEntityDef.StructureEntityPlaceMode
-
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 AbstractWeaponEntityDef()
-
Method Summary
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.builtin.def.StructureEntityDef
getCooldown, getEdges, getLootDirectProbability, getLootDropAlternative, getLootDropProbability, getPlacementMode, getStorageCapacityNeeded, isBlocksDamage, isCooldownAfterEnable, isDropEntityMods, isLootable, isPreventFields, isStorablePreselectInEditor, setBlocksDamage, setCooldown, setCooldownAfterEnable, setEdges, setLootable, setLootDirectProbability, setLootDropAlternative, setLootDropProbability, setPlacementMode, setPreventFields, setStorablePreselectInEditor, setStorageCapacityNeeded
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.extio.spacecraft.shared.model.entity.builtin.def.StorableEntityDef
getMass
-
-
-
-
Method Detail
-
getTilesetWeaponFiring
public Area2 getTilesetWeaponFiring()
-
setTilesetWeaponFiring
public void setTilesetWeaponFiring(Area2 tilesetWeaponFiring)
-
getMeshConsumerType
public String getMeshConsumerType()
- Specified by:
getMeshConsumerType
in interfaceMeshConsumerDef
-
setMeshConsumerType
public void setMeshConsumerType(String meshConsumerType)
-
getMeshConsumerBaseAmount
public int getMeshConsumerBaseAmount()
- Specified by:
getMeshConsumerBaseAmount
in interfaceMeshConsumerDef
-
setMeshConsumerBaseAmount
public void setMeshConsumerBaseAmount(int meshConsumerAmount)
-
getMeshConsumerActionAmount
public int getMeshConsumerActionAmount()
- Specified by:
getMeshConsumerActionAmount
in interfaceMeshConsumerDef
-
setMeshConsumerActionAmount
public void setMeshConsumerActionAmount(int meshConsumerActionAmount)
-
getMeshConsumerStarvedActionDef
public String getMeshConsumerStarvedActionDef()
- Specified by:
getMeshConsumerStarvedActionDef
in interfaceMeshConsumerDef
-
setMeshConsumerStarvedActionDef
public void setMeshConsumerStarvedActionDef(String meshConsumerStarvedActionDef)
-
getMeshConsumerOutActionDef
public String getMeshConsumerOutActionDef()
- Specified by:
getMeshConsumerOutActionDef
in interfaceMeshConsumerDef
-
setMeshConsumerOutActionDef
public void setMeshConsumerOutActionDef(String meshConsumerOutActionDef)
-
getMeshPassiveConsumerType
public String getMeshPassiveConsumerType()
- Specified by:
getMeshPassiveConsumerType
in interfaceMeshConsumerDef
-
setMeshPassiveConsumerType
public void setMeshPassiveConsumerType(String meshPassiveConsumerType)
-
getMeshPassiveConsumerStarvedActionDef
public String getMeshPassiveConsumerStarvedActionDef()
- Specified by:
getMeshPassiveConsumerStarvedActionDef
in interfaceMeshConsumerDef
-
setMeshPassiveConsumerStarvedActionDef
public void setMeshPassiveConsumerStarvedActionDef(String meshPassiveConsumerStarvedActionDef)
-
getWeaponBaseDamage
public double getWeaponBaseDamage()
- Specified by:
getWeaponBaseDamage
in interfaceWeaponEntityDef
-
setWeaponBaseDamage
public void setWeaponBaseDamage(double weaponBaseDamage)
-
getWeaponMinDistance
public double getWeaponMinDistance()
- Specified by:
getWeaponMinDistance
in interfaceWeaponEntityDef
-
setWeaponMinDistance
public void setWeaponMinDistance(double weaponMinDistance)
-
getWeaponMaxDistance
public double getWeaponMaxDistance()
- Specified by:
getWeaponMaxDistance
in interfaceWeaponEntityDef
-
setWeaponMaxDistance
public void setWeaponMaxDistance(double weaponMaxDistance)
-
getEmActionEmission
public double getEmActionEmission()
- Specified by:
getEmActionEmission
in interfaceMeshConsumerDef
-
setEmActionEmission
public void setEmActionEmission(double emActionEmission)
-
getAudioWeaponFire
public ModAndResourceName getAudioWeaponFire()
-
setAudioWeaponFire
public void setAudioWeaponFire(ModAndResourceName audioWeaponFire)
-
isWeaponFireAll
public boolean isWeaponFireAll()
-
setWeaponFireAll
public void setWeaponFireAll(boolean weaponFireAll)
-
-