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:
getMeshConsumerTypein interfaceMeshConsumerDef
-
setMeshConsumerType
public void setMeshConsumerType(String meshConsumerType)
-
getMeshConsumerBaseAmount
public int getMeshConsumerBaseAmount()
- Specified by:
getMeshConsumerBaseAmountin interfaceMeshConsumerDef
-
setMeshConsumerBaseAmount
public void setMeshConsumerBaseAmount(int meshConsumerAmount)
-
getMeshConsumerActionAmount
public int getMeshConsumerActionAmount()
- Specified by:
getMeshConsumerActionAmountin interfaceMeshConsumerDef
-
setMeshConsumerActionAmount
public void setMeshConsumerActionAmount(int meshConsumerActionAmount)
-
getMeshConsumerStarvedActionDef
public String getMeshConsumerStarvedActionDef()
- Specified by:
getMeshConsumerStarvedActionDefin interfaceMeshConsumerDef
-
setMeshConsumerStarvedActionDef
public void setMeshConsumerStarvedActionDef(String meshConsumerStarvedActionDef)
-
getMeshConsumerOutActionDef
public String getMeshConsumerOutActionDef()
- Specified by:
getMeshConsumerOutActionDefin interfaceMeshConsumerDef
-
setMeshConsumerOutActionDef
public void setMeshConsumerOutActionDef(String meshConsumerOutActionDef)
-
getMeshPassiveConsumerType
public String getMeshPassiveConsumerType()
- Specified by:
getMeshPassiveConsumerTypein interfaceMeshConsumerDef
-
setMeshPassiveConsumerType
public void setMeshPassiveConsumerType(String meshPassiveConsumerType)
-
getMeshPassiveConsumerStarvedActionDef
public String getMeshPassiveConsumerStarvedActionDef()
- Specified by:
getMeshPassiveConsumerStarvedActionDefin interfaceMeshConsumerDef
-
setMeshPassiveConsumerStarvedActionDef
public void setMeshPassiveConsumerStarvedActionDef(String meshPassiveConsumerStarvedActionDef)
-
getWeaponBaseDamage
public double getWeaponBaseDamage()
- Specified by:
getWeaponBaseDamagein interfaceWeaponEntityDef
-
setWeaponBaseDamage
public void setWeaponBaseDamage(double weaponBaseDamage)
-
getWeaponMinDistance
public double getWeaponMinDistance()
- Specified by:
getWeaponMinDistancein interfaceWeaponEntityDef
-
setWeaponMinDistance
public void setWeaponMinDistance(double weaponMinDistance)
-
getWeaponMaxDistance
public double getWeaponMaxDistance()
- Specified by:
getWeaponMaxDistancein interfaceWeaponEntityDef
-
setWeaponMaxDistance
public void setWeaponMaxDistance(double weaponMaxDistance)
-
getEmActionEmission
public double getEmActionEmission()
- Specified by:
getEmActionEmissionin 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)
-
-