Uses of Class
de.extio.spacecraft.shared.model.entity.AbstractEntity
-
Packages that use AbstractEntity Package Description de.extio.spacecraft.shared.bo Business objects implement various game mechanicsde.extio.spacecraft.shared.managers Managers implementing various game subsystemsde.extio.spacecraft.shared.model.client.settings The module settings mechanism is for controlling client modules.de.extio.spacecraft.shared.model.entity Business and data objects for the entity subsystem.de.extio.spacecraft.shared.model.entity.builtin.composite Builtin composite entity implementations and interfaces for custom implementationsde.extio.spacecraft.shared.model.entity.builtin.live Builtin live entity implementations and interfaces for custom implementations of specific entity typesde.extio.spacecraft.shared.model.entity.builtin.live.mod Base and builtin implementations of entity modsde.extio.spacecraft.shared.model.entity.builtin.live.scripting Implementations of scripting entities. -
-
Uses of AbstractEntity in de.extio.spacecraft.shared.bo
Methods in de.extio.spacecraft.shared.bo with parameters of type AbstractEntity Modifier and Type Method Description voidEntityModSupport. addEntityMod(int entityModDefIndex, AbstractEntity parent)PathPathFindingEntitySupport. clientGetPossibleMovePath(AbstractCompositeEntity compositeEntity, CoordI2 destination, AbstractEntity entity, boolean force)Calculates a possible path to destinationbooleanPathFindingEntitySupport. clientPrepareMovePathPreview(AbstractCompositeEntity compositeEntity, AbstractEntity entity, CoordI2 destination)static voidClientDrawEntitySupport. drawEntity(AbstractEntity entity, CoordI2 absPosition, CoordI2 relPosition, RenderingBoLayer baseLayer_, ClientSelectionUtils clientSelectionUtils_, List<RenderingBo> drawEntityBoList_, boolean showSelection, boolean selectionZebraEffect, boolean showStatusIcons, List<RenderingBo> renderingBo)Generates all RenderingBo to draw an entitybooleanPathFinder. isEntityAccessible(AbstractEntity entity, EntityDefManager entityDefManager, PathFindingOptions options)Checks whether entity would block path findingvoidEntityModSupport. localCopy(AbstractEntity other)booleanPathFindingEntitySupport. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity selectedCompositeEntity, AbstractEntity selectedEntity, PhysicalEntity entity)voidMeshConsumerSupport. onClientDrawEntityActions(List<RenderingBo> renderingBo, AbstractEntity entity)voidPathFindingEntitySupport. onClientSelectedPointTo(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, PhysicalEntity entity, List<ClientEntityAction> outClientActions)voidRestrictedEntitySurface. resetRestrictedWalls(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient)Handles restricting entities, if you derive from core entities this is already integrated.List<LootContainer>LootScatterer. scatter(AbstractEntity entity, LootScatterer.ScatteringMode mode, GameSession gameSession)Use this method to drop random lootvoidRestrictedEntitySurface. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)Handles restricting entities, if you derive from core entities this is already integrated.voidRestrictedEntitySurface. serverCleanupRestrictedHullEntity(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)Handles restricting entities, if you derive from core entities this is already integrated.booleanPathFindingEntitySupport. serverMoveEntity(GameSession gameSession, AbstractCompositeEntity parent, PhysicalEntity entity, AbstractEntity ignoreEntity)voidRestrictedEntitySurface. serverPrepareRestrictedEntities(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession)Handles restricting entities, if you derive from core entities this is already integrated.voidRestrictedEntitySurface. serverPrepareRestrictedHullEntity(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession, Consumer<AbstractEntity> processEntityConsumer)Handles restricting entities, if you derive from core entities this is already integrated.voidEntityModSupport. update(AbstractEntity other, AbstractEntity parent)voidPathFindingEntitySupport. update(AbstractEntity other)Method parameters in de.extio.spacecraft.shared.bo with type arguments of type AbstractEntity Modifier and Type Method Description Matrix2<Integer>EntityGroups. markEntityGroups(CoordI2 dimension, GridIndex2D<AbstractEntity> index, EntityGroupsOptions entityGroupsOptions)voidRestrictedEntitySurface. serverPrepareRestrictedHullEntity(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession, Consumer<AbstractEntity> processEntityConsumer)Handles restricting entities, if you derive from core entities this is already integrated. -
Uses of AbstractEntity in de.extio.spacecraft.shared.managers
Methods in de.extio.spacecraft.shared.managers with type parameters of type AbstractEntity Modifier and Type Method Description <T extends AbstractEntity>
TEntityManager. copy(T entity, boolean copyEntityId)Copies an entity<T extends AbstractEntity>
TEntityManager. create(Class<T> clazz, AbstractEntityDef entityDef)Create a new entity by a given entity definition, already cast to a certain clazz.Methods in de.extio.spacecraft.shared.managers that return AbstractEntity Modifier and Type Method Description AbstractEntityEntityManager. create(AbstractEntityDef entityDef)Create a new entity by a given entity definition.AbstractEntityEntityManager. findBy(UUID uuid)Returns an entity by UUID or null if it is not registered.Methods in de.extio.spacecraft.shared.managers that return types with arguments of type AbstractEntity Modifier and Type Method Description List<AbstractEntity>EntityManager. copyAll()Copies all entities at onceList<AbstractEntity>EntityManager. findAll()Returns all entitiesList<AbstractEntity>EntityManager. findByCategory(String category)Get entity by category.Iterator<AbstractEntity>EntityManager. findByCategoryFast(String category)Get entity by category.List<AbstractEntity>EntityManager. findByDef(int entityDefId)Finds entities related to a given entity definition indexList<AbstractEntity>EntityManager. findByDef(Class<? extends AbstractEntityDef> clazz)Finds entities related to a given entity definitionList<AbstractEntity>EntityManager. findByDef(String entityDefName)Finds entities related to a given name of an entity definitionList<AbstractEntity>EntityManager. findByDef(UUID entityDefUUID)Finds entities related to a given entity definition UUIDList<AbstractEntity>EntityManager. findByPosition(CoordI2 entityPos)Finds all entities at a given position.Iterator<AbstractEntity>EntityManager. findByPositionFast(CoordI2 entityPos)Finds all entities at a given position.List<AbstractEntity>WorldManager. findEntityLevelCollisions(AbstractCompositeEntity compositeEntity0, CoordI2 position0, AbstractCompositeEntity compositeEntity1, CoordI2 position1)Composite entities can overlap in the game world.Methods in de.extio.spacecraft.shared.managers with parameters of type AbstractEntity Modifier and Type Method Description voidEntityManager. delete(AbstractEntity entity)Deletes an entity from this entity managervoidEntityManager. dirty(AbstractEntity entity)Sets dirty flag on an entity - it is important to set dirty flag on the server side after every change.voidEntityManager. move(AbstractEntity entity, CoordI2 entityPos)Moves an entity to a new spatial position entityPos - It is VERY important to always use this method to move entities instead of setting the position property directly, because entity manager indexes entities for faster spatial lookups.voidEntityManager. put(AbstractEntity entity)Puts an entity to the entity manager.Method parameters in de.extio.spacecraft.shared.managers with type arguments of type AbstractEntity Modifier and Type Method Description voidEntityManager. executeAtPosition(CoordI2 entityPos, Consumer<AbstractEntity> consumer)Calls a consumer for any entity that exists at a certain position.booleanEntityManager. existsByPosition(CoordI2 entityPos, Predicate<AbstractEntity> filter)Checks whether any entity exists at a certain position matching filter.voidEntityManager. put(Iterable<? extends AbstractEntity> entities, boolean clone)Puts a collection of entities at once to the entity manager. -
Uses of AbstractEntity in de.extio.spacecraft.shared.model.client.settings
Methods in de.extio.spacecraft.shared.model.client.settings that return types with arguments of type AbstractEntity Modifier and Type Method Description List<AbstractEntity>ViewPortModuleSettings. getDrawOverlayEntities()Method parameters in de.extio.spacecraft.shared.model.client.settings with type arguments of type AbstractEntity Modifier and Type Method Description voidViewPortModuleSettings. setDrawOverlayEntities(List<AbstractEntity> drawOverlayEntities) -
Uses of AbstractEntity in de.extio.spacecraft.shared.model.entity
Fields in de.extio.spacecraft.shared.model.entity with type parameters of type AbstractEntity Modifier and Type Field Description List<AbstractEntity>AbstractCompositeEntity.CollisionCalculationResult. collidingEntitiesEntities directly involved in the collisionprotected Map<UUID,List<AbstractEntity>>AbstractEntity. serverRestrictedEntitiesMethods in de.extio.spacecraft.shared.model.entity that return AbstractEntity Modifier and Type Method Description AbstractEntityCompositeAndEntity. getEntity()Methods in de.extio.spacecraft.shared.model.entity that return types with arguments of type AbstractEntity Modifier and Type Method Description Class<? extends AbstractEntity>AbstractEntityDef. getLiveEntity()Map<UUID,List<AbstractEntity>>AbstractEntity. getServerRestrictedEntities()Methods in de.extio.spacecraft.shared.model.entity with parameters of type AbstractEntity Modifier and Type Method Description voidAbstractEntity. localCopy(AbstractEntity other)Local copy of transient fieldsbooleanAbstractEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)Client side: Callback if the player selected an actionvoidAbstractEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)Client side: Callback when this entity is selected and cursor is pointing to another entityvoidCompositeAndEntity. setEntity(AbstractEntity entity)voidAbstractEntity. update(AbstractEntity other)Incremental update of non-transient fields (usually transferred from server)Method parameters in de.extio.spacecraft.shared.model.entity with type arguments of type AbstractEntity Modifier and Type Method Description AbstractCompositeEntity.CollisionCalculationResultAbstractCompositeEntity. calculateCollision(Map.Entry<AbstractCompositeEntity,List<AbstractEntity>> collisionPartner)Calculates the outcome of a collision between this composite and one or more other compositesvoidAbstractCompositeEntity. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)Distributes incoming damage on entities.
There are certain aspects relevant for the calculation:
* A tiles consists of several layered entities
* An entity only absorbs a certain amount of damage (plateaus), which is also dependent on the weapon
* A tile can be protected by shields
* Also shields have plateaus
* Damage that is not absorbed propagates to nearby tiles
* Damage cannot propagate through some tiles in certain directions, i.e.protected booleanAbstractCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)Server side: Callback for additional logic when a collision happenedprotected AbstractCompositeEntity.CollisionCalculationResultAbstractCompositeEntity. priorityCalculateCollision(Map.Entry<AbstractCompositeEntity,List<AbstractEntity>> collisionPartner)Overrides the regular collision calculationvoidAbstractEntityDef. setLiveEntity(Class<? extends AbstractEntity> liveEntity)voidAbstractEntity. setServerRestrictedEntities(Map<UUID,List<AbstractEntity>> serverRestrictedEntities)voidAbstractCompositeEntity.CollisionCalculationResult. swap(AbstractCompositeEntity otherCompositeEntity, List<AbstractEntity> collidingEntities)Swaps sidesConstructors in de.extio.spacecraft.shared.model.entity with parameters of type AbstractEntity Constructor Description CompositeAndEntity(AbstractCompositeEntity compositeEntity, AbstractEntity entity) -
Uses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.composite
Method parameters in de.extio.spacecraft.shared.model.entity.builtin.composite with type arguments of type AbstractEntity Modifier and Type Method Description voidDarkMatter. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidImageSurfaceCompositeEntity. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidInfoCompositeEntity. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidSpaceShip. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)protected booleanInfoCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)protected booleanLootContainerCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)protected booleanSpaceCraft. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)protected AbstractCompositeEntity.CollisionCalculationResultImageSurfaceCompositeEntity. priorityCalculateCollision(Map.Entry<AbstractCompositeEntity,List<AbstractEntity>> collisionPartner)protected AbstractCompositeEntity.CollisionCalculationResultLootContainerCompositeEntity. priorityCalculateCollision(Map.Entry<AbstractCompositeEntity,List<AbstractEntity>> collisionPartner) -
Uses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.live
Subclasses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.live Modifier and Type Class Description classAbstractAiWaypointEntityclassAbstractMeshEntityclassAbstractScriptingEntityAll scripts that can be placed in the game world (e.g.classAbstractWeaponEntityBase class for all weapon implementationsclassActionItemEntityclassAiControlBanditEntityclassAiControlEntityclassAiControlTransporterEntityclassAiDestinationEntityclassAiSpawnPointEntityclassAiWaypointEntityclassAsteroidScenarioScriptingEntityclassCrewEntityBase class for crew membersclassCrewSpawnPointEntityclassDefaultScriptingEntityclassFloorEntityclassImageSurfaceEntityclassInfoEntityclassLootContainerclassMarkerEntityclassPhysicalEntityPhysical entities represent everything that has a form, e.g.classRestrictedEntityclassSpacecraftSpawnPointEntityclassStationEntryPointEntityclassStructureEntityStructure entities are a specialized form of physical entities - everything that is part of the structure of a ship: walls, systems, engines, weapons, ...Methods in de.extio.spacecraft.shared.model.entity.builtin.live with parameters of type AbstractEntity Modifier and Type Method Description booleanCrewEntity. canDoCustomEntityAction(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other)voidAbstractMeshEntity. localCopy(AbstractEntity other)voidAbstractWeaponEntity. localCopy(AbstractEntity other)voidAsteroidScenarioScriptingEntity. localCopy(AbstractEntity other)voidPhysicalEntity. localCopy(AbstractEntity other)booleanAbstractWeaponEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)booleanCrewEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)booleanPhysicalEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)voidAbstractWeaponEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)voidCrewEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)voidPhysicalEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)voidAbstractAiWaypointEntity. update(AbstractEntity other)voidAbstractMeshEntity. update(AbstractEntity other)voidAbstractScriptingEntity. update(AbstractEntity other)voidAbstractWeaponEntity. update(AbstractEntity other)voidActionItemEntity. update(AbstractEntity other)voidAiControlBanditEntity. update(AbstractEntity other)voidAiControlEntity. update(AbstractEntity other)voidAiControlTransporterEntity. update(AbstractEntity other)voidAiDestinationEntity. update(AbstractEntity other)voidAiSpawnPointEntity. update(AbstractEntity other)voidAiWaypointEntity. update(AbstractEntity other)voidAsteroidScenarioScriptingEntity. update(AbstractEntity other)voidCrewEntity. update(AbstractEntity other)voidImageSurfaceEntity. update(AbstractEntity other)voidLootContainer. update(AbstractEntity other)voidMarkerEntity. update(AbstractEntity other)voidPhysicalEntity. update(AbstractEntity other)voidRestrictedEntity. update(AbstractEntity other)voidSpacecraftSpawnPointEntity. update(AbstractEntity other)voidStructureEntity. update(AbstractEntity other) -
Uses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.live.mod
Subclasses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.live.mod Modifier and Type Class Description classAbstractEntityModclassWeaponEntityMod -
Uses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.live.scripting
Subclasses of AbstractEntity in de.extio.spacecraft.shared.model.entity.builtin.live.scripting Modifier and Type Class Description classAiSpawnPortalsInWavesclassCheckGameModeclassDespawnAlliesWhenClearedclassLoadSceneScriptingEntityclassLockObjectInPlaceclassMusicAreaclassNextObjectiveWhenAreaClearedclassNextObjectiveWhenDestroyedclassRespawnAsSpaceStationclassSetDifficultyclassSetGameSessionOptionsclassSetObjectiveclassShowDialogclassWarpPlayer
-