Uses of Class
de.extio.spacecraft.shared.model.entity.AbstractCompositeEntity
-
Packages that use AbstractCompositeEntity Package Description de.extio.spacecraft.shared.bo Business objects implement various game mechanicsde.extio.spacecraft.shared.client.renderer Interfaces related to the rendererde.extio.spacecraft.shared.client.renderer.bo Interfaces for business objects of the renderer.de.extio.spacecraft.shared.managers Managers implementing various game subsystemsde.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.composite.factory Builtin composite entity factories.de.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.scripting Implementations of scripting entities.de.extio.spacecraft.shared.model.game_server.instance Data objects representing and holding game sessions on server sidede.extio.spacecraft.shared.model.message.toboth Messages exchanged bidirectional between client and serverde.extio.spacecraft.shared.world Algorithmic implementations and utilities for the game world subsystem -
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.bo
Methods in de.extio.spacecraft.shared.bo with type parameters of type AbstractCompositeEntity Modifier and Type Method Description <T extends AbstractCompositeEntity>
TEnvironmentGenerator. createAsteroid(Class<T> clazz, String defNamePrefix, List<String> defNameSuffixes, CoordI2 dimension, WorldManager worldManager)
Create an asteroid composite entityMethods in de.extio.spacecraft.shared.bo with parameters of type AbstractCompositeEntity Modifier and Type Method Description boolean
EntityNetwork. canOperate(AbstractCompositeEntity compositeEntity, Collection<UUID> operatorEntityIds, UUID clientEntityId)
Check whether any of the operators (e.g.double
FieldManager. change(AbstractCompositeEntity compositeEntity, UUID type, CoordI2 entityPos, double value, int plateaus)
Changes field at position entityPos.Path
PathFindingEntitySupport. clientGetPossibleMovePath(AbstractCompositeEntity compositeEntity, CoordI2 destination, AbstractEntity entity, boolean force)
Calculates a possible path to destinationboolean
PathFindingEntitySupport. clientPrepareMovePathPreview(AbstractCompositeEntity compositeEntity, AbstractEntity entity, CoordI2 destination)
EntityNetworkDiscovery
EntityNetwork. discover(AbstractCompositeEntity compositeEntity)
Discover information about all meshes of compositeEntityPath
PathFinder. find(AbstractCompositeEntity compositeEntity, CoordI2 origin, CoordI2 destination, PathFindingOptions options)
Calculates a path between two pointsList<PhysicalEntity>
EntityNetwork. findClients(AbstractCompositeEntity compositeEntity, Collection<UUID> operatorEntityIds)
Find all mesh entities that can be controlled by operatorEntityIdsvoid
FieldManager. getDynamicSerializationProperties(boolean incremental, UUID recipient, Fields fields, AbstractCompositeEntity parent, Map<String,Object> result)
Needed for the field manager to work.void
MeshManager. getDynamicSerializationProperties(boolean incremental, UUID recipient, Map<UUID,Mesh> meshes, AbstractCompositeEntity parent, Map<String,Object> result)
Needed for the mesh manager to work.Field
FieldManager. getField(AbstractCompositeEntity compositeEntity, UUID fieldId)
Get a specific field for a composite entity.Fields
FieldManager. getFields(AbstractCompositeEntity compositeEntity)
Get all fields for a composite entityMesh
MeshManager. getMeshData(AbstractCompositeEntity parent, UUID type)
Returns the mesh of a specific type.MeshLane
MeshManager. getMeshLane(AbstractCompositeEntity parent, UUID type, int laneIdx)
Returns a specific lane of a specific mesh type.void
FieldManager. init(AbstractCompositeEntity compositeEntity, boolean fill)
Initializes a newly created field manager for a composite entityvoid
MeshManager. init(AbstractCompositeEntity compositeEntity, boolean fillBuffers)
Init mesh - one time actionMatrix2<Integer>
EntityGroups. markEntityGroups(AbstractCompositeEntity compositeEntity, EntityGroupsOptions entityGroupsOptions)
FieldMeasurement
FieldManager. measure(AbstractCompositeEntity compositeEntity, UUID type, CoordI2 entityPos)
Measure field at position entityPos.boolean
PathFindingEntitySupport. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity selectedCompositeEntity, AbstractEntity selectedEntity, PhysicalEntity entity)
void
PathFindingEntitySupport. onClientSelectedPointTo(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, PhysicalEntity entity, List<ClientEntityAction> outClientActions)
boolean
EnvironmentGenerator. place(AbstractCompositeEntity compositeEntity, Area2 area, WorldManager worldManager)
Places an asteroid in a certain area.boolean
EnvironmentGenerator. place(AbstractCompositeEntity compositeEntity, CoordI2 position, WorldManager worldManager)
Places an asteroid at a certain position.CoordI2
PathFinder. processDestination(CoordI2 origin, CoordI2 destination, AbstractCompositeEntity compositeEntity, EntityDefManager entityDefManager, PathFindingOptions options)
Processes destination.void
MeshManager. reorganize(AbstractCompositeEntity compositeEntity)
Reorganizes mesh - usefull for space ship editor.void
RestrictedEntitySurface. resetRestrictedWalls(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient)
Handles restricting entities, if you derive from core entities this is already integrated.void
RestrictedEntitySurface. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated.void
RestrictedEntitySurface. serverCleanupRestrictedHullEntity(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated.boolean
PathFindingEntitySupport. serverMoveEntity(GameSession gameSession, AbstractCompositeEntity parent, PhysicalEntity entity, AbstractEntity ignoreEntity)
void
RestrictedEntitySurface. serverPrepareRestrictedEntities(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated.void
RestrictedEntitySurface. 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.boolean
RestrictedEntitySurface. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
Whether to restrict the inside of a composite entity parent to player recipientvoid
PathFindingEntitySupport. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession, PhysicalEntity entity)
void
FieldManager. setDynamicSerializationProperty(Map.Entry<String,Object> property, AbstractCompositeEntity compositeEntity)
Needed for the field manager to work.void
MeshManager. supply(UUID meshConsumerId, AbstractCompositeEntity compositeEntity, UUID type, Function<Double,Double> callback)
Supplies mesh containing consumer meshConsumerId with resources.double
MeshManager. take(UUID meshConsumerId, AbstractCompositeEntity compositeEntity, UUID type, boolean simulate, double amount, Consumer<Double> callback)
Take amount of type from mesh buffer, initiated by an entity.void
FieldManager. updateAfterMesh(AbstractCompositeEntity compositeEntity)
Needed for the field manager to work.void
FieldManager. updateBeforeMesh(AbstractCompositeEntity compositeEntity)
Needed for the field manager to work.void
FieldManager. updateFieldEmissions(AbstractCompositeEntity compositeEntity)
Needed for the field manager to work.void
MeshManager. updateStage0(AbstractCompositeEntity compositeEntity)
Updates mesh.void
MeshManager. updateStage1(AbstractCompositeEntity compositeEntity)
Updates mesh.List<SpaceShipValidationComplaint>
SpaceShipValidator. validate(AbstractCompositeEntity compositeEntity, ShipClass shipClass, SpaceShipValidationOptions options)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.client.renderer
Methods in de.extio.spacecraft.shared.client.renderer that return types with arguments of type AbstractCompositeEntity Modifier and Type Method Description Optional<AbstractCompositeEntity>
RenderingBoHasPositionRelativeToParent. getAlternativeParent()
Optional<AbstractCompositeEntity>
RenderingBoHasSubTileOffset. getAlternativeParent()
Method parameters in de.extio.spacecraft.shared.client.renderer with type arguments of type AbstractCompositeEntity Modifier and Type Method Description RenderingBoHasPositionRelativeToParent
RenderingBoHasPositionRelativeToParent. setAlternativeParent(Optional<AbstractCompositeEntity> alternativeParent)
Sets an alternative parent.RenderingBo
RenderingBoHasSubTileOffset. setAlternativeParent(Optional<AbstractCompositeEntity> alternativeParent)
Sets an alternative parent. -
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.client.renderer.bo
Methods in de.extio.spacecraft.shared.client.renderer.bo that return AbstractCompositeEntity Modifier and Type Method Description AbstractCompositeEntity
DrawEffectRenderingBo. getTargetCompositeEntity()
Methods in de.extio.spacecraft.shared.client.renderer.bo with parameters of type AbstractCompositeEntity Modifier and Type Method Description DrawEffectRenderingBo
DrawEffectRenderingBo. setTargetCompositeEntity(AbstractCompositeEntity alternativeTarget)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.managers
Methods in de.extio.spacecraft.shared.managers with type parameters of type AbstractCompositeEntity Modifier and Type Method Description <T extends AbstractCompositeEntity>
TWorldManager. convert(AbstractCompositeEntity compositeEntity, Class<T> target)
Converts a composite entity to another type<T extends AbstractCompositeEntity>
TWorldManager. copy(AbstractCompositeEntity compositeEntity, boolean copyEntities)
Copies a composite entity<T extends AbstractCompositeEntity>
TWorldManager. create(Class<T> clazz, CoordI2 position, CoordI2 dimension)
Creates a composite entity of type clazz.<T extends AbstractCompositeEntity>
List<T>WorldManager. findBy(Class<T> clazz)
Find composite entities by certain criteria<T extends AbstractCompositeEntity>
TWorldManager. findBy(UUID id, Class<T> clazz)
Finds a composite entity by id, requires the composite to have a certain type (or a sub-class of it).Methods in de.extio.spacecraft.shared.managers that return AbstractCompositeEntity Modifier and Type Method Description AbstractCompositeEntity
WorldManager. findBy(UUID id)
Finds a composite entity by idMethods in de.extio.spacecraft.shared.managers that return types with arguments of type AbstractCompositeEntity Modifier and Type Method Description List<AbstractCompositeEntity>
WorldManager. findAll()
Returns a view (shallow copy) of all entities in the game worldIterator<AbstractCompositeEntity>
WorldManager. findAllFast()
Returns an read-only iterator of all entities in the game worldList<AbstractCompositeEntity>
WorldManager. findBy(CoordI2 worldPos)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(CoordI2 worldPos, CoordI2 dimension)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(CoordI2 worldPos, CoordI2 dimension, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(CoordI2 worldPos, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(HasPositionAndDimension2 hasPositionAndDimension2)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(HasPositionAndDimension2 hasPositionAndDimension2, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(RectI2 rect)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(RectI2 rect, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(List<UUID> ids)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBySceneTag(UUID sceneTag)
Find composite entities by certain criteria.Iterator<AbstractCompositeEntity>
WorldManager. findBySceneTagFast(UUID sceneTag)
Find composite entities by certain criteria See also SceneRegistryList<AbstractCompositeEntity>
WorldManager. findShadowed()
Find composite entities by certain criteria Shadowed entities are already added to the world manager but are not spawned in the game world yet, for example a ship being still in lobbyIterator<AbstractCompositeEntity>
WorldManager. findShadowedFast()
Find composite entities by certain criteria Shadowed entities are already added to the world manager but are not spawned in the game world yet, for example a ship being still in lobbyMethods in de.extio.spacecraft.shared.managers with parameters of type AbstractCompositeEntity Modifier and Type Method Description void
WorldManagerInterceptor. add(AbstractCompositeEntity compositeEntity)
Interceptor callback<T extends AbstractCompositeEntity>
TWorldManager. convert(AbstractCompositeEntity compositeEntity, Class<T> target)
Converts a composite entity to another type<T extends AbstractCompositeEntity>
TWorldManager. copy(AbstractCompositeEntity compositeEntity, boolean copyEntities)
Copies a composite entityEntityManager
WorldManager. createEntityManager(AbstractCompositeEntity compositeEntity)
Creates an entity manager.void
WorldManager. dirty(AbstractCompositeEntity compositeEntity)
Sets dirty flag on a composite entity - it is important to set dirty flag on the server side after every change.List<AbstractEntity>
WorldManager. findEntityLevelCollisions(AbstractCompositeEntity compositeEntity0, CoordI2 position0, AbstractCompositeEntity compositeEntity1, CoordI2 position1)
Composite entities can overlap in the game world.boolean
WorldManager. hasEntityLevelCollision(AbstractCompositeEntity compositeEntity0, CoordI2 position0, AbstractCompositeEntity compositeEntity1, CoordI2 position1)
Composite entities can overlap in the game world.void
WorldManager. move(AbstractCompositeEntity compositeEntity, CoordI2 position, CoordI2 dimension)
Moves a composite entity to a new spatial position position - It is VERY important to always use this method instead of setting the position property directly, because world manager holds indexes for faster spatial lookups.void
WorldManagerInterceptor. move(AbstractCompositeEntity compositeEntity)
Interceptor callbackvoid
WorldManager. operateOnEntityLevelCollisions(AbstractCompositeEntity compositeEntity0, CoordI2 position0, AbstractCompositeEntity compositeEntity1, CoordI2 position1, WorldManager.CollisionDetectionListener listener)
Composite entities can overlap in the game world.void
WorldManager. put(AbstractCompositeEntity compositeEntity)
Puts a composite entity to the world manager.void
WorldManager. put(AbstractCompositeEntity compositeEntity, Map<String,Object> properties)
Puts a composite entity to the world manager with given additional properties (usually coming from CompositeEntityDefinitionMessage) World manager distinguishes between new entities, local updates and external updates (e.g.void
WorldManager. remove(AbstractCompositeEntity compositeEntity)
Removes a composite entity from the game worldvoid
WorldManagerInterceptor. remove(AbstractCompositeEntity compositeEntity)
Interceptor callbackboolean
WorldManager.PhysicalCompositeEntitiesPredicate. test(AbstractCompositeEntity composite)
void
WorldManagerInterceptor. update(AbstractCompositeEntity compositeEntity)
Interceptor callbackMethod parameters in de.extio.spacecraft.shared.managers with type arguments of type AbstractCompositeEntity Modifier and Type Method Description void
WorldManager. executeAt(CoordI2 worldPos, Consumer<AbstractCompositeEntity> consumer)
Specialized and optimized alternative to #find*void
WorldManager. executeAt(CoordI2 worldPos, Consumer<AbstractCompositeEntity> consumer, Predicate<AbstractCompositeEntity> filter)
Specialized and optimized alternative to #find*void
WorldManager. executeAt(CoordI2 worldPos, Consumer<AbstractCompositeEntity> consumer, Predicate<AbstractCompositeEntity> filter)
Specialized and optimized alternative to #find*boolean
WorldManager. existsAt(CoordI2 worldPos, Predicate<AbstractCompositeEntity> filter)
Specialized and optimized alternative to #find*List<AbstractCompositeEntity>
WorldManager. findBy(CoordI2 worldPos, CoordI2 dimension, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(CoordI2 worldPos, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(HasPositionAndDimension2 hasPositionAndDimension2, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(RectI2 rect, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteria -
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.entity
Fields in de.extio.spacecraft.shared.model.entity declared as AbstractCompositeEntity Modifier and Type Field Description AbstractCompositeEntity
AbstractCompositeEntity.CollisionCalculationResult. otherCompositeEntity
Other composite involved in the collisionMethods in de.extio.spacecraft.shared.model.entity that return AbstractCompositeEntity Modifier and Type Method Description AbstractCompositeEntity
CompositeAndEntity. getCompositeEntity()
AbstractCompositeEntity
CompositeAndPosition. getCompositeEntity()
AbstractCompositeEntity
CompositeEntityZone. getCompositeEntity()
Methods in de.extio.spacecraft.shared.model.entity that return types with arguments of type AbstractCompositeEntity Modifier and Type Method Description List<AbstractCompositeEntity>
CompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
Methods in de.extio.spacecraft.shared.model.entity with parameters of type AbstractCompositeEntity Modifier and Type Method Description void
CompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
Map<String,String>
CompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
void
AbstractCompositeEntity. localCopy(AbstractCompositeEntity other)
Local copy of all fields that are not covered by update()boolean
AbstractEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)
Client side: Callback if the player selected an actionvoid
AbstractEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)
Client side: Callback when this entity is selected and cursor is pointing to another entityvoid
AbstractEntity. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, GameSession gameSession)
Server side: Cleans up restricted entity surfaces.void
AbstractEntity. serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
Server side: Prepares RestrictedEntity instances to be presented instead of this entity to a player.boolean
AbstractEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
Server side: Checks whether this entity should be restricted to the player recipient, i.e.void
AbstractEntity. serverTranslateEntityPass0(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
Server side: Parent composite entity is rotated, rotates this entityvoid
AbstractEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
Server side: Postprocesses rotation of the parent composite entity.void
CompositeAndEntity. setCompositeEntity(AbstractCompositeEntity compositeEntity)
void
CompositeAndPosition. setCompositeEntity(AbstractCompositeEntity compositeEntity)
void
CompositeEntityZone. setCompositeEntity(AbstractCompositeEntity compositeEntity)
void
AbstractCompositeEntity.CollisionCalculationResult. swap(AbstractCompositeEntity otherCompositeEntity, List<AbstractEntity> collidingEntities)
Swaps sidesvoid
AbstractCompositeEntity. update(AbstractCompositeEntity other)
Updates non-transient fields (i.e.Method parameters in de.extio.spacecraft.shared.model.entity with type arguments of type AbstractCompositeEntity Modifier and Type Method Description AbstractCompositeEntity.CollisionCalculationResult
AbstractCompositeEntity. calculateCollision(Map.Entry<AbstractCompositeEntity,List<AbstractEntity>> collisionPartner)
Calculates the outcome of a collision between this composite and one or more other compositesprotected boolean
AbstractCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)
Server side: Callback for additional logic when a collision happenedprotected AbstractCompositeEntity.CollisionCalculationResult
AbstractCompositeEntity. priorityCalculateCollision(Map.Entry<AbstractCompositeEntity,List<AbstractEntity>> collisionPartner)
Overrides the regular collision calculationConstructors in de.extio.spacecraft.shared.model.entity with parameters of type AbstractCompositeEntity Constructor Description CompositeAndEntity(AbstractCompositeEntity compositeEntity, AbstractEntity entity)
CompositeAndPosition(AbstractCompositeEntity compositeEntity, CoordI2 coord)
CompositeEntityZone(CoordI2 coord, CoordI2 dimension, AbstractCompositeEntity compositeEntity)
DefaultDamageWaveDamageHandler(AbstractCompositeEntity parent)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.entity.builtin.composite
Subclasses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.entity.builtin.composite Modifier and Type Class Description class
AbstractAiSpawnPortal
A portal where AI ships can spawnclass
AbstractPortalCompositeEntity
A portal in the portal network.class
DarkMatter
A lump of dark matter, the mysterious (and heavy!) stuff in the game world causing different spatial effectsclass
DefaultCompositeEntity
Default implementation of AbstractCompositeEntity, providing all the basic functionalityclass
GenericRestrictedCompositeEntity
class
ImageSurfaceCompositeEntity
Image surfaces are showing an area of a tileset in the game worldclass
InfoCompositeEntity
InfoCompositeEntity is non-physical and mainly used as container for markers and scriptsclass
LootContainerCompositeEntity
Loot containers are spawned by LootScatterer and contain loot that can be collected with a LootCollectorEntityclass
ScriptingCompositeEntity
ScriptingCompositeEntity is a container for scripts deriving from AbstractScriptingEntity.class
SpaceCraft
SpaceCraft is the base class for all ships in this game.
When to use which type:
* SpaceCraft: Ships controlled by AI, cannot spawn on a player slot in a game session
* SpaceShip: Ships controlled by players or AI, can spawn on a player slot in a game session (but only needs to if players join the ship)
* SpaceStation: Specialization of SpaceShip for stationary (big) stations.class
SpaceObject
class
SpaceShip
SpaceShip is the class of your choice for ships manned by players.
When to use which type:
* SpaceCraft: Ships controlled by AI, cannot spawn on a player slot in a game session
* SpaceShip: Ships controlled by players or AI, can spawn on a player slot in a game session (but only needs to if players join the ship)
* SpaceStation: Specialization of SpaceShip for stationary stations.class
SpaceStation
SpaceStation is a specialization of SpaceShip for space stations that may be entered by players.
When to use which type:
* SpaceCraft: Ships controlled by AI, cannot spawn on a player slot in a game session
* SpaceShip: Ships controlled by players or AI, can spawn on a player slot in a game session (but only needs to if players join the ship)
* SpaceStation: Specialization of SpaceShip for stationary stations.Methods in de.extio.spacecraft.shared.model.entity.builtin.composite with parameters of type AbstractCompositeEntity Modifier and Type Method Description void
DarkMatter. localCopy(AbstractCompositeEntity other)
void
GenericRestrictedCompositeEntity. localCopy(AbstractCompositeEntity other)
void
ImageSurfaceCompositeEntity. localCopy(AbstractCompositeEntity other)
void
LootContainerCompositeEntity. localCopy(AbstractCompositeEntity other)
void
ScriptingCompositeEntity. localCopy(AbstractCompositeEntity other)
void
SpaceCraft. localCopy(AbstractCompositeEntity other)
void
AbstractAiSpawnPortal. update(AbstractCompositeEntity other)
void
AbstractPortalCompositeEntity. update(AbstractCompositeEntity other)
void
DarkMatter. update(AbstractCompositeEntity other)
void
ImageSurfaceCompositeEntity. update(AbstractCompositeEntity other)
void
LootContainerCompositeEntity. update(AbstractCompositeEntity other)
void
SpaceCraft. update(AbstractCompositeEntity other)
void
SpaceObject. update(AbstractCompositeEntity other)
void
SpaceShip. update(AbstractCompositeEntity other)
void
SpaceStation. update(AbstractCompositeEntity other)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.entity.builtin.composite.factory
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite.factory that return types with arguments of type AbstractCompositeEntity Modifier and Type Method Description List<AbstractCompositeEntity>
AiCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AiControlBanditCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AiControlCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AiControlTransporterCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AiDestinationCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AiRandomCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AiWaypointCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AsteroidCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AsteroidFieldCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
AsteroidScenarioCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
DarkMatterCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
ImageSurfaceCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
MarkerCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
ScriptingCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
List<AbstractCompositeEntity>
SpacecraftSpawnPointCompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite.factory with parameters of type AbstractCompositeEntity Modifier and Type Method Description void
AiCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AiControlBanditCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AiControlCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AiControlTransporterCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AiDestinationCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AiRandomCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AiWaypointCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AsteroidCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AsteroidFieldCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
AsteroidScenarioCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
DarkMatterCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
ImageSurfaceCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
MarkerCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
ScriptingCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
void
SpacecraftSpawnPointCompositeEntityFactory. edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
Map<String,String>
AiCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AiControlBanditCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AiControlCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AiControlTransporterCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AiDestinationCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AiRandomCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AiWaypointCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AsteroidCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AsteroidFieldCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
AsteroidScenarioCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
DarkMatterCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
ImageSurfaceCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
MarkerCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
ScriptingCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,String>
SpacecraftSpawnPointCompositeEntityFactory. getEditParameters(AbstractCompositeEntity compositeEntity)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.entity.builtin.live
Fields in de.extio.spacecraft.shared.model.entity.builtin.live with type parameters of type AbstractCompositeEntity Modifier and Type Field Description protected Class<? extends AbstractCompositeEntity>
AbstractWeaponEntity. serverLastTargetType
Methods in de.extio.spacecraft.shared.model.entity.builtin.live with parameters of type AbstractCompositeEntity Modifier and Type Method Description protected abstract double
AbstractWeaponEntity. calculateAccuracy(AbstractCompositeEntity parent, AbstractWeaponEntityDef entityDef, AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
protected double
AbstractWeaponEntity. calculateRelativeVelocity(AbstractCompositeEntity parent, AbstractCompositeEntity targetComposite)
abstract boolean
AbstractWeaponEntity. canAttack(AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
boolean
WeaponEntity. canAttack(AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
protected boolean
AbstractWeaponEntity. canAttackGeneral(AbstractCompositeEntity parent, AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
boolean
CrewEntity. canDoCustomEntityAction(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other)
protected boolean
AbstractWeaponEntity. checkWeaponDistance(AbstractWeaponEntityDef entityDef, AbstractCompositeEntity parent, AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
protected void
AbstractWeaponEntity. clientFireWeaponAccuracyAreaEffect(AbstractCompositeEntity parent, AbstractWeaponEntityDef entityDef, AbstractCompositeEntity targetCompositeEntity, CoordI2 targetEntityPos, boolean canAttack)
protected boolean
AbstractWeaponEntity. ignoreSelfHit(AbstractCompositeEntity parent, AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
boolean
AbstractWeaponEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)
boolean
CrewEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)
boolean
PhysicalEntity. onClientAction(ClientEntityAction clientAction, AbstractCompositeEntity targetCompositeEntity, AbstractEntity targetEntity)
protected void
AbstractScriptingEntity. onClientCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity)
Client side: Called when any entity entered this.radius.void
AbstractWeaponEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)
void
CrewEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)
void
PhysicalEntity. onClientSelectedPointToEntity(AbstractCompositeEntity otherCompositeEntity, AbstractEntity other, int modifiers, List<ClientEntityAction> outClientActions)
void
AutomationHandler. onServerAutomationRun(GameSession gameSession, AbstractCompositeEntity parent, List<AutomationEntity> automatedEntities, List<AutomationEntity> automatedEntitiesReady)
protected void
AbstractScriptingEntity. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)
Server side: Called when any entity entered this.radius.default void
StorableEntity. onServerStorageEject(int entityDefIdx, CoordI2 worldPos, AbstractCompositeEntity parent, GameSession gameSession)
protected abstract void
AbstractWeaponEntity. serverAttack(GameSession gameSession, AbstractCompositeEntity composite, CoordI2 entityPos, Runnable onAttack)
void
AbstractWeaponEntity. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, GameSession gameSession)
void
AbstractWeaponEntity. serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
void
FloorEntity. serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
protected abstract void
AbstractWeaponEntity. serverProcessFinalTarget(Random rand, GameSession gameSession, AbstractCompositeEntity parent, AbstractWeaponEntityDef entityDef, CoordI2 weaponWorldPos, org.apache.commons.lang3.mutable.MutableObject<AbstractCompositeEntity> finalTargetComposite, CoordI2 finalTargetPos, CoordI2 finalTargetWorldPos)
boolean
AbstractWeaponEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
boolean
RestrictedEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
boolean
StructureEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
void
AbstractMeshEntity. serverTranslateEntityPass0(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
void
AbstractWeaponEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
void
CrewEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
void
FloorEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
void
PhysicalEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)
Method parameters in de.extio.spacecraft.shared.model.entity.builtin.live with type arguments of type AbstractCompositeEntity Modifier and Type Method Description protected void
AbstractScriptingEntity. onClientTurnCompositeEntitiesInRadius(List<AbstractCompositeEntity> compositeEntities)
Client side: Called on every turn, providing a list of entities currently inside radius.protected void
AbstractScriptingEntity. onServerTurnCompositeEntitiesInRadius(List<AbstractCompositeEntity> compositeEntities, GameSession gameSession)
Server side: Called on every turn, providing a list of entities currently inside radius.protected abstract void
AbstractWeaponEntity. serverProcessFinalTarget(Random rand, GameSession gameSession, AbstractCompositeEntity parent, AbstractWeaponEntityDef entityDef, CoordI2 weaponWorldPos, org.apache.commons.lang3.mutable.MutableObject<AbstractCompositeEntity> finalTargetComposite, CoordI2 finalTargetPos, CoordI2 finalTargetWorldPos)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.entity.builtin.live.scripting
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.game_server.instance
Methods in de.extio.spacecraft.shared.model.game_server.instance that return types with arguments of type AbstractCompositeEntity Modifier and Type Method Description List<? extends AbstractCompositeEntity>
Player. getLastCompositeEntitiesPublished()
Method parameters in de.extio.spacecraft.shared.model.game_server.instance with type arguments of type AbstractCompositeEntity Modifier and Type Method Description void
Player. setLastCompositeEntitiesPublished(List<? extends AbstractCompositeEntity> lastCompositeEntitiesPublished)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.model.message.toboth
Methods in de.extio.spacecraft.shared.model.message.toboth that return AbstractCompositeEntity Modifier and Type Method Description AbstractCompositeEntity
CompositeEntityDefinitionMessage. getCompositeEntity()
Methods in de.extio.spacecraft.shared.model.message.toboth with parameters of type AbstractCompositeEntity Modifier and Type Method Description static CompositeEntityDefinitionMessage
CompositeEntityDefinitionMessage.CompositeEntityDefinitionMessageFactory. create(AbstractCompositeEntity compositeEntity, boolean incremental, UUID recipient, boolean includeModNames)
static CompositeEntityDefinitionMessage
CompositeEntityDefinitionMessage. create(AbstractCompositeEntity compositeEntity, boolean incremental, UUID recipient, boolean includeModNames)
void
CompositeEntityDefinitionMessage. setCompositeEntity(AbstractCompositeEntity compositeEntity)
-
Uses of AbstractCompositeEntity in de.extio.spacecraft.shared.world
Methods in de.extio.spacecraft.shared.world with parameters of type AbstractCompositeEntity Modifier and Type Method Description static CoordI2
WorldUtils. translateEntityPosToWorldPos(AbstractCompositeEntity compositeEntity, CoordI2 entityPos)
Translates coordinate within composite entity to absolute world coordinatestatic CoordI2
WorldUtils. translateWorldPosToEntityPos(AbstractCompositeEntity compositeEntity, CoordI2 worldPos, boolean ignoreBounds)
Translates world coordinate to relative coordinate within composite entity
-