Uses of Interface
de.extio.spacecraft.shared.model.world.HasPosition2
-
Packages that use HasPosition2 Package Description de.extio.spacecraft.shared.client.renderer Interfaces related to the rendererde.extio.spacecraft.shared.client.ui Utilities for the client UIde.extio.spacecraft.shared.model.bo Interfaces and data objects for various business objects implementing game mechanicsde.extio.spacecraft.shared.model.client.event Builtin events of the event subsystem.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.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 HasPosition2 in de.extio.spacecraft.shared.client.renderer
Methods in de.extio.spacecraft.shared.client.renderer with parameters of type HasPosition2 Modifier and Type Method Description RenderingBoHasDimension
RenderingBoHasDimension. withDimensionAbsolute(HasPosition2 dim)
RenderingBoHasDimension
RenderingBoHasDimension. withDimensionIncrementalAbsolute(HasPosition2 dim)
RenderingBo
RenderingBo. withPositionAbsoluteAnchorBottomLeft(HasPosition2 position)
Positions this bo with an absolute position on the viewport.RenderingBo
RenderingBo. withPositionAbsoluteAnchorBottomRight(HasPosition2 position)
Positions this bo with an absolute position on the viewport.RenderingBo
RenderingBo. withPositionAbsoluteAnchorTopLeft(HasPosition2 position)
Positions this bo with an absolute position on the viewport.RenderingBo
RenderingBo. withPositionAbsoluteAnchorTopRight(HasPosition2 position)
Positions this bo with an absolute position on the viewport.RenderingBo
RenderingBo. withPositionIncrementalAbsolute(HasPosition2 position)
Positions this bo with an incremental position relative to the position the bo is already at.RenderingBo
RenderingBo. withPositionRelative(HasPosition2 position)
Positions this bo relative to it's parent. -
Uses of HasPosition2 in de.extio.spacecraft.shared.client.ui
Classes in de.extio.spacecraft.shared.client.ui that implement HasPosition2 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. -
Uses of HasPosition2 in de.extio.spacecraft.shared.model.bo
Classes in de.extio.spacecraft.shared.model.bo that implement HasPosition2 Modifier and Type Class Description class
FieldMeasurement
class
FieldPoint
class
SpaceShipValidationComplaint
-
Uses of HasPosition2 in de.extio.spacecraft.shared.model.client.event
Classes in de.extio.spacecraft.shared.model.client.event that implement HasPosition2 Modifier and Type Class Description class
ViewPortCursorBaseEvent
class
ViewPortTileClickPressEvent
This event is fired when a mouse button is pressed on a tileclass
ViewPortTileClickReleaseEvent
This event is fired when a mouse button is released on a tileclass
ViewPortTileMouseMoveEvent
This event is fired when the mouse is moved to a tile -
Uses of HasPosition2 in de.extio.spacecraft.shared.model.entity
Classes in de.extio.spacecraft.shared.model.entity that implement HasPosition2 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
CompositeAndPosition
class
CompositeEntityIdZone
class
CompositeEntityZone
class
CompositeIdAndPosition
class
DamageWavePoint
class
EntityDefZone
class
EntityIdZone
class
EntityLayerAndPosition
class
EntityZone
-
Uses of HasPosition2 in de.extio.spacecraft.shared.model.entity.builtin.composite
Classes in de.extio.spacecraft.shared.model.entity.builtin.composite that implement HasPosition2 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 HasPosition2 in de.extio.spacecraft.shared.model.entity.builtin.live
Classes in de.extio.spacecraft.shared.model.entity.builtin.live that implement HasPosition2 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, ...Methods in de.extio.spacecraft.shared.model.entity.builtin.live with parameters of type HasPosition2 Modifier and Type Method Description boolean
CrewEntity. isMoveFirst(HasPosition2 other, boolean objectExtraRequiresMoveToPosition)
-
Uses of HasPosition2 in de.extio.spacecraft.shared.model.entity.builtin.live.mod
Classes in de.extio.spacecraft.shared.model.entity.builtin.live.mod that implement HasPosition2 Modifier and Type Class Description class
AbstractEntityMod
class
WeaponEntityMod
-
Uses of HasPosition2 in de.extio.spacecraft.shared.model.entity.builtin.live.scripting
Classes in de.extio.spacecraft.shared.model.entity.builtin.live.scripting that implement HasPosition2 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 HasPosition2 in de.extio.spacecraft.shared.model.world
Subinterfaces of HasPosition2 in de.extio.spacecraft.shared.model.world Modifier and Type Interface Description interface
CoordI2
An integer tuple (can represent a point, a coordinate or a vector in 2D space).interface
HasPositionAndDimension2
Interface for objects occupying 2D area, having a position (top left corner) and a dimensioninterface
SpatialIndex2Capable
Objects that can be indexed in SpatialIndex2D implementationsClasses in de.extio.spacecraft.shared.model.world that implement HasPosition2 Modifier and Type Class Description class
Area2
A 2D area, having a position (top left corner) and a dimensionclass
ImmutableCoordI2
Immutable implementation of CoordI2class
MutableCoordI2
Immutable implementation of CoordI2class
Point2
A point in 2D space -
Uses of HasPosition2 in de.extio.spacecraft.shared.world
Classes in de.extio.spacecraft.shared.world with type parameters of type HasPosition2 Modifier and Type Class Description class
GridIndex2D<T extends HasPosition2>
Implements a grid index that can query objects with dimension 1 very fast at the expense of memory consumption.Methods in de.extio.spacecraft.shared.world with parameters of type HasPosition2 Modifier and Type Method Description List<T>
GridIndex2D. get(HasPosition2 hasPosition2)
static double
WorldUtils. getDistance(HasPosition2 p0, HasPosition2 p1)
The Pythagorean theoremstatic boolean
WorldUtils. isInBounds(HasPosition2 hasPosition, CoordI2 dimension)
Checks whether coord is within bounds (e.g.
-