Class FloorEntity
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.AbstractEntity
-
- de.extio.spacecraft.shared.model.entity.builtin.live.PhysicalEntity
-
- de.extio.spacecraft.shared.model.entity.builtin.live.FloorEntity
-
- All Implemented Interfaces:
HasPosition2,HasPositionAndDimension2
public class FloorEntity extends PhysicalEntity
-
-
Field Summary
-
Fields inherited from class de.extio.spacecraft.shared.model.entity.builtin.live.PhysicalEntity
clientEntityActionQueue, clientPoseAnimation, clientPoseTilesetPosition, enabled, entityAction, entityActionPending, entityActionPendingTurn, entityActionPlayer, entityActionTarget, entityActionTargetCoord, health, loggedInEntity, onDamageDestroyImmediately, onDamageSplit, onDamageSplitThreshold, pathFindingEntitySupport
-
Fields inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntity
LOGGER, serverRestrictedEntities, serverRestrictedEntitySurfaceBo
-
-
Constructor Summary
Constructors Constructor Description FloorEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClientDrawEntity(List<RenderingBo> renderingBo)Client side: Draws this entityvoidserverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)Server side: Prepares RestrictedEntity instances to be presented instead of this entity to a player.voidserverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)Server side: Postprocesses rotation of the parent composite entity.-
Methods inherited from class de.extio.spacecraft.shared.model.entity.builtin.live.PhysicalEntity
create, enableEntity, getEntityAction, getEntityActionPending, getEntityActionTarget, getEntityActionTargetCoord, getHealth, getLoggedInEntity, getOnDamageSplitThreshold, getPathFindingEntitySupport, getSubTileOffset, getTilesetPosition, handleEnabledState, isEnabled, isOnDamageDestroyImmediately, isOnDamageSplit, isOperational, localCopy, localInit, nextClientEntityAction, onClientAction, onClientActionMessage, onClientComplexConsoleControlEvent, onClientComplexConsoleControlEvent, onClientDamage, onClientDrawConsoleControls, onClientDrawEntityAction, onClientDrawEntityActions, onClientFrame, onClientGenerateEntityDetails, onClientSelectedPointToEntity, onClientSelectedPointToNoClientEntityAction, onServerActionMessage, onServerConsoleControlEvent, onServerDamage, onServerTurnPass0, onServerTurnPass1, serverAbortEntityAction, serverCalculateEmEmission, serverSetEntityAction, serverSplitOnDamage, setClientActions, setEnabled, setHealth, setLoggedInEntity, setOnDamageDestroyImmediately, setOnDamageSplit, setOnDamageSplitThreshold, update
-
Methods inherited from class de.extio.spacecraft.shared.model.entity.AbstractEntity
createClientDrawTileImageBo, getDimension, getEntityDef, getEntityDefUUID, getEntityLayer, getEntityManager, getOrientation, getParentCompositeEntity, getPosition, getServerRestrictedEntities, getServerRestrictEntitiesLastUpdate, getServerRestrictEntitiesWalls, getTileset, getUuid, isDirty, isLocalInit, onClientSelectedPointToWorldPos, onServerTurnPass2PostComposites, serverCleanupRestrictedEntities, serverRestrictEntity, serverTranslateEntityPass0, setDirty, setEntityDef, setEntityManager, setLocalInit, setOrientation, setParentCompositeEntity, setPosition, setServerRestrictedEntities, setServerRestrictEntitiesLastUpdate, setServerRestrictEntitiesWalls, setUuid
-
-
-
-
Method Detail
-
serverPrepareRestrictedEntities
public void serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
Description copied from class:AbstractEntityServer side: Prepares RestrictedEntity instances to be presented instead of this entity to a player. See also RestrictedEntitySurface- Overrides:
serverPrepareRestrictedEntitiesin classAbstractEntity
-
serverTranslateEntityPass1
public void serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
Description copied from class:AbstractEntityServer side: Postprocesses rotation of the parent composite entity. This also means that this entity is now at a different position in the tile grid- Overrides:
serverTranslateEntityPass1in classPhysicalEntity
-
onClientDrawEntity
public void onClientDrawEntity(List<RenderingBo> renderingBo)
Description copied from class:AbstractEntityClient side: Draws this entity- Overrides:
onClientDrawEntityin classPhysicalEntity
-
-