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 RenderingBoHasDimensionRenderingBoHasDimension. withDimensionAbsolute(HasPosition2 dim)RenderingBoHasDimensionRenderingBoHasDimension. withDimensionIncrementalAbsolute(HasPosition2 dim)RenderingBoRenderingBo. withPositionAbsoluteAnchorBottomLeft(HasPosition2 position)Positions this bo with an absolute position on the viewport.RenderingBoRenderingBo. withPositionAbsoluteAnchorBottomRight(HasPosition2 position)Positions this bo with an absolute position on the viewport.RenderingBoRenderingBo. withPositionAbsoluteAnchorTopLeft(HasPosition2 position)Positions this bo with an absolute position on the viewport.RenderingBoRenderingBo. withPositionAbsoluteAnchorTopRight(HasPosition2 position)Positions this bo with an absolute position on the viewport.RenderingBoRenderingBo. withPositionIncrementalAbsolute(HasPosition2 position)Positions this bo with an incremental position relative to the position the bo is already at.RenderingBoRenderingBo. 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 classEnhancedWindow<T>Helper to position, draw and manage virtual windows in the UI.classWindowHelper 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 classFieldMeasurementclassFieldPointclassSpaceShipValidationComplaint -
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 classViewPortCursorBaseEventclassViewPortTileClickPressEventThis event is fired when a mouse button is pressed on a tileclassViewPortTileClickReleaseEventThis event is fired when a mouse button is released on a tileclassViewPortTileMouseMoveEventThis 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 classAbstractCompositeEntityAbstractCompositeEntity is the root of all composite entities, providing full functionality to interact with the game world.classAbstractEntityAbstractEntity is the root of all entities.classCompositeAndPositionclassCompositeEntityIdZoneclassCompositeEntityZoneclassCompositeIdAndPositionclassDamageWavePointclassEntityDefZoneclassEntityIdZoneclassEntityLayerAndPositionclassEntityZone -
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 classAbstractAiSpawnPortalA portal where AI ships can spawnclassAbstractPortalCompositeEntityA portal in the portal network.classDarkMatterA lump of dark matter, the mysterious (and heavy!) stuff in the game world causing different spatial effectsclassDefaultCompositeEntityDefault implementation of AbstractCompositeEntity, providing all the basic functionalityclassGenericRestrictedCompositeEntityclassImageSurfaceCompositeEntityImage surfaces are showing an area of a tileset in the game worldclassInfoCompositeEntityInfoCompositeEntity is non-physical and mainly used as container for markers and scriptsclassLootContainerCompositeEntityLoot containers are spawned by LootScatterer and contain loot that can be collected with a LootCollectorEntityclassScriptingCompositeEntityScriptingCompositeEntity is a container for scripts deriving from AbstractScriptingEntity.classSpaceCraftSpaceCraft 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.classSpaceObjectclassSpaceShipSpaceShip 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.classSpaceStationSpaceStation 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 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 HasPosition2 Modifier and Type Method Description booleanCrewEntity. 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 classAbstractEntityModclassWeaponEntityMod -
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 classAiSpawnPortalsInWavesclassCheckGameModeclassDespawnAlliesWhenClearedclassLoadSceneScriptingEntityclassLockObjectInPlaceclassMusicAreaclassNextObjectiveWhenAreaClearedclassNextObjectiveWhenDestroyedclassRespawnAsSpaceStationclassSetDifficultyclassSetGameSessionOptionsclassSetObjectiveclassShowDialogclassWarpPlayer -
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 interfaceCoordI2An integer tuple (can represent a point, a coordinate or a vector in 2D space).interfaceHasPositionAndDimension2Interface for objects occupying 2D area, having a position (top left corner) and a dimensioninterfaceSpatialIndex2CapableObjects that can be indexed in SpatialIndex2D implementationsClasses in de.extio.spacecraft.shared.model.world that implement HasPosition2 Modifier and Type Class Description classArea2A 2D area, having a position (top left corner) and a dimensionclassImmutableCoordI2Immutable implementation of CoordI2classMutableCoordI2Immutable implementation of CoordI2classPoint2A 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 classGridIndex2D<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 doubleWorldUtils. getDistance(HasPosition2 p0, HasPosition2 p1)The Pythagorean theoremstatic booleanWorldUtils. isInBounds(HasPosition2 hasPosition, CoordI2 dimension)Checks whether coord is within bounds (e.g.
-