Class AbstractEntityModDef
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractEntityDef
-
- de.extio.spacecraft.shared.model.entity.builtin.def.mod.AbstractEntityModDef
-
- All Implemented Interfaces:
ProcessableEntityDef
,StorableEntityDef
,UpgradeableEntityDef
- Direct Known Subclasses:
WeaponEntityModDef
public abstract class AbstractEntityModDef extends AbstractEntityDef implements StorableEntityDef, UpgradeableEntityDef, ProcessableEntityDef
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractEntityModDef.EntityModRarity
-
Nested classes/interfaces inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntityDef
AbstractEntityDef.PlacementCompatibility
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityModDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMass()
String
getProcessingCategory()
AbstractEntityModDef.EntityModRarity
getRarity()
int
getStorageCapacityNeeded()
String
getUpgradeCategory()
String
getUpgradeTo()
boolean
isStorablePreselectInEditor()
void
setProcessingCategory(String processingCategory)
void
setRarity(AbstractEntityModDef.EntityModRarity rarity)
void
setUpgradeCategory(String upgradeCategory)
void
setUpgradeTo(String upgradeTo)
-
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
-
getStorageCapacityNeeded
public int getStorageCapacityNeeded()
- Specified by:
getStorageCapacityNeeded
in interfaceStorableEntityDef
-
getMass
public double getMass()
- Specified by:
getMass
in interfaceStorableEntityDef
-
isStorablePreselectInEditor
public boolean isStorablePreselectInEditor()
- Specified by:
isStorablePreselectInEditor
in interfaceStorableEntityDef
-
getRarity
public AbstractEntityModDef.EntityModRarity getRarity()
-
setRarity
public void setRarity(AbstractEntityModDef.EntityModRarity rarity)
-
getUpgradeCategory
public String getUpgradeCategory()
- Specified by:
getUpgradeCategory
in interfaceUpgradeableEntityDef
-
setUpgradeCategory
public void setUpgradeCategory(String upgradeCategory)
-
getUpgradeTo
public String getUpgradeTo()
- Specified by:
getUpgradeTo
in interfaceUpgradeableEntityDef
-
setUpgradeTo
public void setUpgradeTo(String upgradeTo)
-
getProcessingCategory
public String getProcessingCategory()
- Specified by:
getProcessingCategory
in interfaceProcessableEntityDef
-
setProcessingCategory
public void setProcessingCategory(String processingCategory)
-
-