Class SetObjective
- 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.SetObjective
-
- All Implemented Interfaces:
HasPosition2
,HasPositionAndDimension2
public class SetObjective 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 SetObjective()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onClientActionMessage(GameActionMessage message)
Client side: Callback after a message has been received for this entityprotected void
onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)
Server side: Called when any entity entered this.radius.-
Methods inherited from class de.extio.spacecraft.shared.model.entity.builtin.live.AbstractScriptingEntity
getCustom0, getCustom1, getCustom2, getCustom3, getCustom4, getLabel, getRadius, localInit, onClientCompositeEntityRadiusEntered, onClientCompositeEntityRadiusLeft, onClientDrawEntity, onClientFrame, onClientTurnCompositeEntitiesInRadius, 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, onClientGenerateEntityDetails, onClientSelectedPointToEntity, onClientSelectedPointToNoClientEntityAction, onClientSelectedPointToWorldPos, onServerActionMessage, onServerTurnPass1, onServerTurnPass2PostComposites, serverCleanupRestrictedEntities, serverPrepareRestrictedEntities, serverRestrictEntity, serverTranslateEntityPass0, serverTranslateEntityPass1, setClientActions, setDirty, setEntityDef, setEntityManager, setLocalInit, setOrientation, setParentCompositeEntity, setPosition, setServerRestrictedEntities, setServerRestrictEntitiesLastUpdate, setServerRestrictEntitiesWalls, setUuid
-
-
-
-
Method Detail
-
onServerCompositeEntityRadiusEntered
protected void onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)
Description copied from class:AbstractScriptingEntity
Server side: Called when any entity entered this.radius. Feature is disabled when radius is 0- Overrides:
onServerCompositeEntityRadiusEntered
in classAbstractScriptingEntity
-
onClientActionMessage
public void onClientActionMessage(GameActionMessage message)
Description copied from class:AbstractEntity
Client side: Callback after a message has been received for this entity- Overrides:
onClientActionMessage
in classAbstractEntity
-
-