Class ActionItemEntityDef
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractEntityDef
-
- de.extio.spacecraft.shared.model.entity.builtin.def.ActionItemEntityDef
-
- All Implemented Interfaces:
CraftableEntityDef,StorableEntityDef
public class ActionItemEntityDef extends AbstractEntityDef implements StorableEntityDef, CraftableEntityDef
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntityDef
AbstractEntityDef.PlacementCompatibility
-
-
Constructor Summary
Constructors Constructor Description ActionItemEntityDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCharge()StringgetChargeType()StringgetCraftingCategory()doublegetExplosionDamage()doublegetMass()intgetStorageCapacityNeeded()booleanisStorablePreselectInEditor()voidsetCharge(double charge)voidsetChargeType(String chargeType)voidsetCraftingCategory(String craftingCategory)voidsetExplosionDamage(double explosionDamage)voidsetMass(double mass)voidsetStorablePreselectInEditor(boolean storablePreselectInEditor)voidsetStorageCapacityNeeded(int storageCapacityNeeded)-
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
-
getCharge
public double getCharge()
-
setCharge
public void setCharge(double charge)
-
getExplosionDamage
public double getExplosionDamage()
-
setExplosionDamage
public void setExplosionDamage(double explosionDamage)
-
getStorageCapacityNeeded
public int getStorageCapacityNeeded()
- Specified by:
getStorageCapacityNeededin interfaceStorableEntityDef
-
setStorageCapacityNeeded
public void setStorageCapacityNeeded(int storageCapacityNeeded)
-
getChargeType
public String getChargeType()
-
setChargeType
public void setChargeType(String chargeType)
-
getMass
public double getMass()
- Specified by:
getMassin interfaceStorableEntityDef
-
setMass
public void setMass(double mass)
-
isStorablePreselectInEditor
public boolean isStorablePreselectInEditor()
- Specified by:
isStorablePreselectInEditorin interfaceStorableEntityDef
-
setStorablePreselectInEditor
public void setStorablePreselectInEditor(boolean storablePreselectInEditor)
-
getCraftingCategory
public String getCraftingCategory()
- Specified by:
getCraftingCategoryin interfaceCraftableEntityDef
-
setCraftingCategory
public void setCraftingCategory(String craftingCategory)
-
-