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 double
getCharge()
String
getChargeType()
String
getCraftingCategory()
double
getExplosionDamage()
double
getMass()
int
getStorageCapacityNeeded()
boolean
isStorablePreselectInEditor()
void
setCharge(double charge)
void
setChargeType(String chargeType)
void
setCraftingCategory(String craftingCategory)
void
setExplosionDamage(double explosionDamage)
void
setMass(double mass)
void
setStorablePreselectInEditor(boolean storablePreselectInEditor)
void
setStorageCapacityNeeded(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:
getStorageCapacityNeeded
in interfaceStorableEntityDef
-
setStorageCapacityNeeded
public void setStorageCapacityNeeded(int storageCapacityNeeded)
-
getChargeType
public String getChargeType()
-
setChargeType
public void setChargeType(String chargeType)
-
getMass
public double getMass()
- Specified by:
getMass
in interfaceStorableEntityDef
-
setMass
public void setMass(double mass)
-
isStorablePreselectInEditor
public boolean isStorablePreselectInEditor()
- Specified by:
isStorablePreselectInEditor
in interfaceStorableEntityDef
-
setStorablePreselectInEditor
public void setStorablePreselectInEditor(boolean storablePreselectInEditor)
-
getCraftingCategory
public String getCraftingCategory()
- Specified by:
getCraftingCategory
in interfaceCraftableEntityDef
-
setCraftingCategory
public void setCraftingCategory(String craftingCategory)
-
-