Class RespawnAsSpaceStation
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractEntity
-
- de.extio.spacecraft.shared.model.entity.builtin.live.InfoEntity
-
- de.extio.spacecraft.shared.model.entity.builtin.live.AbstractScriptingEntity
-
- de.extio.spacecraft.shared.model.entity.builtin.live.scripting.RespawnAsSpaceStation
-
- All Implemented Interfaces:
HasPosition2,HasPositionAndDimension2
public class RespawnAsSpaceStation extends AbstractScriptingEntity
-
-
Field Summary
-
Fields inherited from class de.extio.spacecraft.shared.model.entity.builtin.live.AbstractScriptingEntity
custom0, custom1, custom2, custom3, custom4, radius
-
Fields inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntity
LOGGER, serverRestrictedEntities, serverRestrictedEntitySurfaceBo
-
-
Constructor Summary
Constructors Constructor Description RespawnAsSpaceStation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlocalInit(AbstractEntityDef entityDef)Local initialization of transient fieldsvoidonServerTurnPass2PostComposites(GameSession gameSession)Server side: Executes code on every server turn, postprocessing pass after composite entity pass 2.-
Methods inherited from class de.extio.spacecraft.shared.model.entity.builtin.live.AbstractScriptingEntity
getCustom0, getCustom1, getCustom2, getCustom3, getCustom4, getLabel, getRadius, onClientCompositeEntityRadiusEntered, onClientCompositeEntityRadiusLeft, onClientDrawEntity, onClientFrame, onClientTurnCompositeEntitiesInRadius, onServerCompositeEntityRadiusEntered, onServerCompositeEntityRadiusLeft, onServerTurnCompositeEntitiesInRadius, onServerTurnPass0, setCustom0, setCustom1, setCustom2, setCustom3, setCustom4, setLabel, setRadius, update
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.builtin.live.InfoEntity
isDisplay
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntity
create, createClientDrawTileImageBo, getDimension, getEntityDef, getEntityDefUUID, getEntityLayer, getEntityManager, getOrientation, getParentCompositeEntity, getPosition, getServerRestrictedEntities, getServerRestrictEntitiesLastUpdate, getServerRestrictEntitiesWalls, getTileset, getTilesetPosition, getUuid, isDirty, isLocalInit, localCopy, onClientAction, onClientActionMessage, onClientGenerateEntityDetails, onClientSelectedPointToEntity, onClientSelectedPointToNoClientEntityAction, onClientSelectedPointToWorldPos, onServerActionMessage, onServerTurnPass1, serverCleanupRestrictedEntities, serverPrepareRestrictedEntities, serverRestrictEntity, serverTranslateEntityPass0, serverTranslateEntityPass1, setClientActions, setDirty, setEntityDef, setEntityManager, setLocalInit, setOrientation, setParentCompositeEntity, setPosition, setServerRestrictedEntities, setServerRestrictEntitiesLastUpdate, setServerRestrictEntitiesWalls, setUuid
-
-
-
-
Method Detail
-
localInit
public void localInit(AbstractEntityDef entityDef)
Description copied from class:AbstractEntityLocal initialization of transient fields- Overrides:
localInitin classAbstractScriptingEntity
-
onServerTurnPass2PostComposites
public void onServerTurnPass2PostComposites(GameSession gameSession)
Description copied from class:AbstractEntityServer side: Executes code on every server turn, postprocessing pass after composite entity pass 2. It is highly recommended to not change the main business state here but only do calculations based on that state- Overrides:
onServerTurnPass2PostCompositesin classAbstractEntity
-
-