Uses of Interface
de.extio.spacecraft.shared.model.world.HasPositionAndDimension2
-
Packages that use HasPositionAndDimension2 Package Description de.extio.spacecraft.shared.client.ui Utilities for the client UIde.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.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.de.extio.spacecraft.shared.model.world Data objects representing the game worldde.extio.spacecraft.shared.world Algorithmic implementations and utilities for the game world subsystem -
-
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.client.ui
Classes in de.extio.spacecraft.shared.client.ui that implement HasPositionAndDimension2 Modifier and Type Class Description class
EnhancedWindow<T>
Helper to position, draw and manage virtual windows in the UI.class
Window
Helper to position, draw and manage virtual windows in the UI.Methods in de.extio.spacecraft.shared.client.ui with parameters of type HasPositionAndDimension2 Modifier and Type Method Description static boolean
Window. intersectsAny(HasPositionAndDimension2 area)
-
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.managers
Methods in de.extio.spacecraft.shared.managers with parameters of type HasPositionAndDimension2 Modifier and Type Method Description List<AbstractCompositeEntity>
WorldManager. findBy(HasPositionAndDimension2 hasPositionAndDimension2)
Find composite entities by certain criteriaList<AbstractCompositeEntity>
WorldManager. findBy(HasPositionAndDimension2 hasPositionAndDimension2, Predicate<AbstractCompositeEntity> filter)
Find composite entities by certain criteria -
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.entity
Classes in de.extio.spacecraft.shared.model.entity that implement HasPositionAndDimension2 Modifier and Type Class Description class
AbstractCompositeEntity
AbstractCompositeEntity is the root of all composite entities, providing full functionality to interact with the game world.class
AbstractEntity
AbstractEntity is the root of all entities.class
CompositeEntityIdZone
class
CompositeEntityZone
class
EntityDefZone
class
EntityIdZone
class
EntityZone
-
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.entity.builtin.composite
Classes in de.extio.spacecraft.shared.model.entity.builtin.composite that implement HasPositionAndDimension2 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. -
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.entity.builtin.live
Classes in de.extio.spacecraft.shared.model.entity.builtin.live that implement HasPositionAndDimension2 Modifier and Type Class Description class
AbstractAiWaypointEntity
class
AbstractMeshEntity
class
AbstractScriptingEntity
All scripts that can be placed in the game world (e.g.class
AbstractWeaponEntity
Base class for all weapon implementationsclass
ActionItemEntity
class
AiControlBanditEntity
class
AiControlEntity
class
AiControlTransporterEntity
class
AiDestinationEntity
class
AiSpawnPointEntity
class
AiWaypointEntity
class
AsteroidScenarioScriptingEntity
class
CrewEntity
Base class for crew membersclass
CrewSpawnPointEntity
class
DefaultScriptingEntity
class
FloorEntity
class
ImageSurfaceEntity
class
InfoEntity
class
LootContainer
class
MarkerEntity
class
PhysicalEntity
Physical entities represent everything that has a form, e.g.class
RestrictedEntity
class
SpacecraftSpawnPointEntity
class
StationEntryPointEntity
class
StructureEntity
Structure entities are a specialized form of physical entities - everything that is part of the structure of a ship: walls, systems, engines, weapons, ... -
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.entity.builtin.live.mod
Classes in de.extio.spacecraft.shared.model.entity.builtin.live.mod that implement HasPositionAndDimension2 Modifier and Type Class Description class
AbstractEntityMod
class
WeaponEntityMod
-
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.entity.builtin.live.scripting
Classes in de.extio.spacecraft.shared.model.entity.builtin.live.scripting that implement HasPositionAndDimension2 Modifier and Type Class Description class
AiSpawnPortalsInWaves
class
CheckGameMode
class
DespawnAlliesWhenCleared
class
LoadSceneScriptingEntity
class
LockObjectInPlace
class
MusicArea
class
NextObjectiveWhenAreaCleared
class
NextObjectiveWhenDestroyed
class
RespawnAsSpaceStation
class
SetDifficulty
class
SetGameSessionOptions
class
SetObjective
class
ShowDialog
class
WarpPlayer
-
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.world
Subinterfaces of HasPositionAndDimension2 in de.extio.spacecraft.shared.model.world Modifier and Type Interface Description interface
SpatialIndex2Capable
Objects that can be indexed in SpatialIndex2D implementationsClasses in de.extio.spacecraft.shared.model.world that implement HasPositionAndDimension2 Modifier and Type Class Description class
Area2
A 2D area, having a position (top left corner) and a dimensionConstructors in de.extio.spacecraft.shared.model.world with parameters of type HasPositionAndDimension2 Constructor Description Area2(HasPositionAndDimension2 other)
-
Uses of HasPositionAndDimension2 in de.extio.spacecraft.shared.world
Methods in de.extio.spacecraft.shared.world with parameters of type HasPositionAndDimension2 Modifier and Type Method Description static List<CoordI2>
WorldUtils. evade(HasPositionAndDimension2 origin, double velOrigin, CoordD2 vOrigin, HasPositionAndDimension2 target, CoordD2 vTarget, CoordI2 oTarget, CoordI2 pInterception_)
Calculates waypoints to evade a collision between origin and target.default List<T>
SpatialIndex2D. find(HasPositionAndDimension2 hasPositionAndDimension2)
Queries all object intersecting with a given areastatic CoordI2
WorldUtils. getClosestPoint(CoordI2 origin, HasPositionAndDimension2 target)
Get's the closest point at area target from originstatic Edge2
WorldUtils. getSector(CoordI2 point, HasPositionAndDimension2 source)
Returns the sector the point is located from source's viewstatic List<Area2>
WorldUtils. getSides(HasPositionAndDimension2 obj)
x-----x | | | | x-----xstatic List<CoordI2>
WorldUtils. getVertices(HasPositionAndDimension2 obj)
x-----x | | | | x-----xstatic Area2
WorldUtils. intersectAreas(HasPositionAndDimension2 a0, HasPositionAndDimension2 a1)
Intersects 2 areasstatic boolean
WorldUtils. intersects(HasPositionAndDimension2 obj0, HasPositionAndDimension2 obj1)
Checks whether 2 objects intersect
-