Uses of Interface
de.extio.spacecraft.shared.model.world.CoordI2
-
Packages that use CoordI2 Package Description de.extio.spacecraft.shared.bo Business objects implement various game mechanicsde.extio.spacecraft.shared.client Managers and business objects related to the game client.de.extio.spacecraft.shared.client.module Interfaces and data objects related to various builtin client modulesde.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.client.ui Utilities for the client UIde.extio.spacecraft.shared.managers Managers implementing various game subsystemsde.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.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.composite.factory Builtin composite entity factories.de.extio.spacecraft.shared.model.entity.builtin.def Builtin entity definitionsde.extio.spacecraft.shared.model.entity.builtin.live Builtin live entity implementations and interfaces for custom implementations of specific entity typesde.extio.spacecraft.shared.model.message.client_internal Messages exchanged in the game clientde.extio.spacecraft.shared.model.message.local Messages exchanged locally in-memory between game client and an embedded serverde.extio.spacecraft.shared.model.world Data objects representing the game worldde.extio.spacecraft.shared.module Interfaces and business objects for the module subsystem.de.extio.spacecraft.shared.world Algorithmic implementations and utilities for the game world subsystem -
-
Uses of CoordI2 in de.extio.spacecraft.shared.bo
Methods in de.extio.spacecraft.shared.bo that return CoordI2 Modifier and Type Method Description CoordI2
PathFindingEntitySupport. getClientMoveAnimationOffset()
CoordI2
PathFindingEntitySupport. getMoveOffset()
CoordI2
PathFindingEntitySupport. getTilesetPosition(PhysicalEntity entity, PhysicalEntityDef entityDef)
CoordI2
PathFinder. processDestination(CoordI2 origin, CoordI2 destination, AbstractCompositeEntity compositeEntity, EntityDefManager entityDefManager, PathFindingOptions options)
Processes destination.Methods in de.extio.spacecraft.shared.bo with parameters of type CoordI2 Modifier and Type Method Description double
FieldManager. change(Fields fields, UUID type, CoordI2 entityPos, double value, int plateaus)
Changes field at position entityPos.double
FieldManager. change(AbstractCompositeEntity compositeEntity, UUID type, CoordI2 entityPos, double value, int plateaus)
Changes field at position entityPos.double
FieldManager. change(UUID compositeId, 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)
SpaceObject
EnvironmentGenerator. createAsteroid(CoordI2 dimension, WorldManager worldManager)
Create an asteroid composite entity<T extends AbstractCompositeEntity>
TEnvironmentGenerator. createAsteroid(Class<T> clazz, String defNamePrefix, List<String> defNameSuffixes, CoordI2 dimension, WorldManager worldManager)
Create an asteroid composite entitystatic void
ClientDrawEntitySupport. 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 entityPath
PathFinder. find(AbstractCompositeEntity compositeEntity, CoordI2 origin, CoordI2 destination, PathFindingOptions options)
Calculates a path between two pointsboolean
PathFinder. isMoveToDirectionAccessible(CoordI2 position, CoordI2 target, EntityManager entityManager, EntityDefManager entityDefManager, PathFindingOptions options)
Checks whether adjacent tile can be accessed from position (e.g.boolean
PathFinder. isTileAccessible(CoordI2 position, EntityManager entityManager, EntityDefManager entityDefManager, PathFindingOptions options)
Checks whether tile position can be accessed.UUID
SceneLoader. load(Scene scene, CoordI2 position, SceneLoader.ClearMode clearMode)
Loads a scene from storage and add it to the game worldMatrix2<Integer>
EntityGroups. markEntityGroups(CoordI2 dimension, GridIndex2D<AbstractEntity> index, EntityGroupsOptions entityGroupsOptions)
FieldMeasurement
FieldManager. measure(Fields fields, UUID type, CoordI2 entityPos)
Measure field at position entityPos.FieldMeasurement
FieldManager. measure(AbstractCompositeEntity compositeEntity, UUID type, CoordI2 entityPos)
Measure field at position entityPos.FieldMeasurement
FieldManager. measure(UUID compositeId, UUID type, CoordI2 entityPos)
Measure field at position entityPos.void
StorageEntitySupport. onClientDrawEntityAction(PhysicalEntity storageProviderEntity, List<RenderingBo> renderingBo, String action, boolean pending, CoordI2 subTileOffset)
Callback from entity to make storage functionality work.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.LootContainer
LootScatterer. scatter(int entityDefIdx, CoordI2 worldPos, int radius, double healthPerc, CoordD2 baseVelocityVector, Edge2 orientation, UUID droppedBy, GameSession gameSession)
Use this method to drop loot (e.g.boolean
PathFindingEntitySupport. serverMove(CoordI2 coord, PhysicalEntity entity, UUID sender, GameSession gameSession)
void
PathFindingEntitySupport. serverMoveOrientation(CoordI2 nextNode, PhysicalEntity entity)
void
PathFindingEntitySupport. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession, PhysicalEntity entity)
void
PathFindingEntitySupport. setMoveOffset(CoordI2 moveOffset)
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID>
FieldsModuleDrawBo. setupPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, CoordI2 dimension, int pxPerCoord)
<T extends SpaceStation>
UUIDSpaceStationFactory. spawn(CoordI2 position, String fileMatcher, String modNameMatcher, String path, UUID sceneTag, int team, boolean allTeamsCanEnter, int spawnAtSlotMinIncl, int spawnAtSlotMaxExcl, Class<T> type, Consumer<T> processor, GameSession gameSession)
Spawns the station at a certain position, also registers it at a ship slot<T extends SpaceStation>
UUIDSpaceStationFactory. spawnStation(CoordI2 position, UUID sceneTag, int team, boolean allTeamsCanEnter, boolean forceKeepPosition, int spawnAtSlotMinIncl, int spawnAtSlotMaxExcl, T station, Consumer<T> processor, GameSession gameSession)
Spawns a preloaded station at a certain position, also registers it at a ship slot.Method parameters in de.extio.spacecraft.shared.bo with type arguments of type CoordI2 Modifier and Type Method Description List<SpaceObject>
EnvironmentGenerator. placeAsteroidBelt(int sizeMin, int sizeMax, double density, double velocityMin, double velocityMax, CoordD2 vDirectionNorm, Area2 area, WorldManager worldManager, BiPredicate<MutableCoordI2,CoordI2> randomPositionPredicate)
Generates and places a whole belt of asteroids -
Uses of CoordI2 in de.extio.spacecraft.shared.client
Methods in de.extio.spacecraft.shared.client that return CoordI2 Modifier and Type Method Description CoordI2
UiOptions. getBackgroundOffset0()
CoordI2
UiOptions. getBackgroundOffset1()
Methods in de.extio.spacecraft.shared.client with parameters of type CoordI2 Modifier and Type Method Description void
UiOptions. setBackgroundOffset0(CoordI2 backgroundOffset0)
void
UiOptions. setBackgroundOffset1(CoordI2 backgroundOffset1)
-
Uses of CoordI2 in de.extio.spacecraft.shared.client.module
Methods in de.extio.spacecraft.shared.client.module that return CoordI2 Modifier and Type Method Description CoordI2
StatusViewContext.StatusViewContextObjectiveTooltipArea. getworldPos()
Methods in de.extio.spacecraft.shared.client.module that return types with arguments of type CoordI2 Modifier and Type Method Description List<org.apache.commons.lang3.tuple.Pair<CoordI2,org.apache.commons.lang3.mutable.MutableInt>>
StatusViewContext. getPings()
Methods in de.extio.spacecraft.shared.client.module with parameters of type CoordI2 Modifier and Type Method Description void
ConsoleView. draw(List<RenderingBo> renderingBo, CoordI2 dimension)
ClientConsoleComplexControlAction
ConsoleView. onClientComplexConsoleControlEvent(int button, CoordI2 normalizedCoordinate)
boolean
StatusView. onMouseDrag(CoordI2 coord, int button, int modifiers, StatusViewContext context)
boolean
ConsoleView. onMousePress(CoordI2 coord, int button, int modifiers)
boolean
StatusView. onMousePress(CoordI2 coord, int button, int modifiers, StatusViewContext context)
boolean
StatusView. onMouseRelease(CoordI2 coord, int button, int modifiers, StatusViewContext context)
void
LobbyModuleGameModeSettingsView. renderLobbyGameModeView(List<RenderingBo> renderingBo, MutableCoordI2 offset, CoordI2 absolutePosition, CoordI2 dimension, boolean enable)
void
StatusViewContext.StatusViewContextObjectiveTooltipArea. setworldPos(CoordI2 worldPos)
Method parameters in de.extio.spacecraft.shared.client.module with type arguments of type CoordI2 Modifier and Type Method Description void
StatusViewContext. setPings(List<org.apache.commons.lang3.tuple.Pair<CoordI2,org.apache.commons.lang3.mutable.MutableInt>> pings)
Constructors in de.extio.spacecraft.shared.client.module with parameters of type CoordI2 Constructor Description StatusViewContextObjectiveTooltipArea(Area2 absoluteArea, CoordI2 worldPos, String label)
-
Uses of CoordI2 in de.extio.spacecraft.shared.client.renderer
Fields in de.extio.spacecraft.shared.client.renderer declared as CoordI2 Modifier and Type Field Description static CoordI2
RendererControl. REFERENCE_RESOLUTION
static CoordI2
RendererControl. TILE_DIMENSION
Methods in de.extio.spacecraft.shared.client.renderer that return CoordI2 Modifier and Type Method Description CoordI2
RendererControl. getAbsoluteViewportDimension()
CoordI2
RendererControl. getEffectiveViewportDimension()
CoordI2
RenderingBoHasSubTileOffset. getSubTileOffset()
Methods in de.extio.spacecraft.shared.client.renderer with parameters of type CoordI2 Modifier and Type Method Description RenderingBoHasSubTileOffset
RenderingBoHasSubTileOffset. setSubTileOffset(CoordI2 offset)
Sets the offset in absolute pixels -
Uses of CoordI2 in de.extio.spacecraft.shared.client.renderer.bo
Methods in de.extio.spacecraft.shared.client.renderer.bo that return types with arguments of type CoordI2 Modifier and Type Method Description List<CoordI2>
DrawEffectRenderingBo. getRelativeCoordinates()
List<CoordI2>
DrawEffectRenderingBo. getScaledRelativeCoordinates()
List<CoordI2>
DrawEffectRenderingBo. getTiledRelativeCoordinates()
List<CoordI2>
DrawEffectRenderingBo. getWorldCoordinates()
Methods in de.extio.spacecraft.shared.client.renderer.bo with parameters of type CoordI2 Modifier and Type Method Description DrawTileEffectRenderingBo
DrawTileEffectRenderingBo. setCustomCoord0(CoordI2 custom)
DrawTileEffectRenderingBo
DrawTileEffectRenderingBo. setCustomCoord1(CoordI2 custom)
Method parameters in de.extio.spacecraft.shared.client.renderer.bo with type arguments of type CoordI2 Modifier and Type Method Description DrawEffectRenderingBo
DrawEffectRenderingBo. setRelativeCoordinates(List<CoordI2> coordinates)
DrawEffectRenderingBo
DrawEffectRenderingBo. setScaledRelativeCoordinates(List<CoordI2> scaledRelativeCoordinates)
DrawEffectRenderingBo
DrawEffectRenderingBo. setTiledRelativeCoordinates(List<CoordI2> tiledRelativeCoordinates)
DrawEffectRenderingBo
DrawEffectRenderingBo. setWorldCoordinates(List<CoordI2> worldCoordinates)
-
Uses of CoordI2 in de.extio.spacecraft.shared.client.ui
Methods in de.extio.spacecraft.shared.client.ui that return CoordI2 Modifier and Type Method Description CoordI2
Window. getDimension()
CoordI2
Window. getPosition()
Methods in de.extio.spacecraft.shared.client.ui with parameters of type CoordI2 Modifier and Type Method Description boolean
Window. drag(CoordI2 coord)
boolean
Window. intersects(CoordI2 coord)
void
Window. move(CoordI2 delta)
void
ScrollBar. onMouseScroll(int button, CoordI2 absolutePos, Predicate<CoordI2> positionIntersectsPredicate)
void
Window. resizeCentered(CoordI2 dimension)
void
Window. setDimension(CoordI2 dimension)
void
Window. setPosition(CoordI2 position)
Method parameters in de.extio.spacecraft.shared.client.ui with type arguments of type CoordI2 Modifier and Type Method Description void
ScrollBar. onEvent(Event event, Predicate<CoordI2> positionIntersectsPredicate)
void
ScrollBar. onMouseScroll(int button, CoordI2 absolutePos, Predicate<CoordI2> positionIntersectsPredicate)
-
Uses of CoordI2 in de.extio.spacecraft.shared.managers
Methods in de.extio.spacecraft.shared.managers with parameters of type CoordI2 Modifier and Type Method Description <T extends AbstractCompositeEntity>
TWorldManager. create(Class<T> clazz, CoordI2 position, CoordI2 dimension)
Creates a composite entity of type clazz.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
EntityManager. executeAtPosition(CoordI2 entityPos, Consumer<AbstractEntity> consumer)
Calls a consumer for any entity that exists at a certain position.boolean
WorldManager. existsAt(CoordI2 worldPos)
Specialized and optimized alternative to #find*boolean
WorldManager. existsAt(CoordI2 worldPos, Predicate<AbstractCompositeEntity> filter)
Specialized and optimized alternative to #find*boolean
EntityManager. existsByPosition(CoordI2 entityPos)
Checks whether any entity exists at a certain position.boolean
EntityManager. existsByPosition(CoordI2 entityPos, Predicate<AbstractEntity> filter)
Checks whether any entity exists at a certain position matching filter.List<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<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.boolean
WorldManager. hasEntityLevelCollision(AbstractCompositeEntity compositeEntity0, CoordI2 position0, AbstractCompositeEntity compositeEntity1, CoordI2 position1)
Composite entities can overlap in the game world.void
EntityManager. 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.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
WorldManager. operateOnEntityLevelCollisions(AbstractCompositeEntity compositeEntity0, CoordI2 position0, AbstractCompositeEntity compositeEntity1, CoordI2 position1, WorldManager.CollisionDetectionListener listener)
Composite entities can overlap in the game world. -
Uses of CoordI2 in de.extio.spacecraft.shared.model.bo
Methods in de.extio.spacecraft.shared.model.bo that return CoordI2 Modifier and Type Method Description CoordI2
FieldMeasurement. getPosition()
CoordI2
FieldPoint. getPosition()
CoordI2
SpaceShipValidationComplaint. getPosition()
Methods in de.extio.spacecraft.shared.model.bo that return types with arguments of type CoordI2 Modifier and Type Method Description Stack<CoordI2>
Path. getDebugNodes()
Stack<CoordI2>
Path. getNodes()
Methods in de.extio.spacecraft.shared.model.bo with parameters of type CoordI2 Modifier and Type Method Description List<UUID>
AiOrchestrator. claimCenters(UUID ai, List<CoordI2> centers, CoordI2 dimension)
void
FieldMeasurement. setPosition(CoordI2 position)
void
FieldPoint. setPosition(CoordI2 position)
void
SpaceShipValidationComplaint. setPosition(CoordI2 entityPos)
Method parameters in de.extio.spacecraft.shared.model.bo with type arguments of type CoordI2 Modifier and Type Method Description List<UUID>
AiOrchestrator. claimCenters(UUID ai, List<CoordI2> centers, SpaceCraft spaceCraft)
List<UUID>
AiOrchestrator. claimCenters(UUID ai, List<CoordI2> centers, CoordI2 dimension)
void
Path. setDebugNodes(Stack<CoordI2> debugNodes)
void
Path. setNodes(Stack<CoordI2> nodes)
Constructors in de.extio.spacecraft.shared.model.bo with parameters of type CoordI2 Constructor Description Field(CoordI2 dimension)
FieldPoint(CoordI2 position)
SpaceShipValidationComplaint(SpaceShipValidationComplaint.Complaints complaint, CoordI2 entityPos)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.client.event
Fields in de.extio.spacecraft.shared.model.client.event declared as CoordI2 Modifier and Type Field Description protected CoordI2
ViewPortCursorBaseEvent. absolutePos
protected CoordI2
ViewPortCursorBaseEvent. worldPos
protected CoordI2
ViewPortCursorBaseEvent. worldPosSubOffset
Methods in de.extio.spacecraft.shared.model.client.event that return CoordI2 Modifier and Type Method Description CoordI2
ViewPortHighlightRasterEvent. getAbsolute()
CoordI2
ViewPortCursorBaseEvent. getAbsolutePos()
CoordI2
ViewPortHighlightRasterEvent. getEntityPos()
CoordI2
ViewPortTileBaseEvent. getEntityPos()
CoordI2
ViewPortEntityStatusIconEvent. getEntityPosition()
CoordI2
ViewPortEntityStatusIconEvent. getIconTilesetPosition()
CoordI2
CurrentObjectiveEvent.ObjectiveMarker. getPosition()
CoordI2
ViewPortCursorBaseEvent. getPosition()
CoordI2
ViewPortEntityStatusIconEvent. getSubTileOffset()
CoordI2
ViewPortMoveEvent. getVector()
CoordI2
ViewPortHighlightRasterEvent. getWorldPos()
CoordI2
ViewPortTileBaseEvent. getWorldPos()
CoordI2
ViewPortWorldPosSelectionEvent. getWorldPos()
CoordI2
ViewPortCursorBaseEvent. getWorldPosSubOffset()
Methods in de.extio.spacecraft.shared.model.client.event that return types with arguments of type CoordI2 Modifier and Type Method Description List<CoordI2>
ViewPortEffectEvent. getCoordinates()
List<CoordI2>
ViewPortEffectEvent. getTiledCoordinates()
List<CoordI2>
ViewPortEffectEvent. getWorldCoordinates()
Methods in de.extio.spacecraft.shared.model.client.event with parameters of type CoordI2 Modifier and Type Method Description void
ViewPortEntityStatusIconEvent. setIconTilesetPosition(CoordI2 iconTilesetPosition)
void
CurrentObjectiveEvent.ObjectiveMarker. setPosition(CoordI2 position)
void
ViewPortEntityStatusIconEvent. setSubTileOffset(CoordI2 subTileOffset)
void
ViewPortMoveEvent. setVector(CoordI2 vector)
Method parameters in de.extio.spacecraft.shared.model.client.event with type arguments of type CoordI2 Modifier and Type Method Description void
ViewPortEffectEvent. setTiledCoordinates(List<CoordI2> tiledCoordinates)
Constructors in de.extio.spacecraft.shared.model.client.event with parameters of type CoordI2 Constructor Description ObjectiveMarker(CoordI2 position, String description)
ViewPortClientActionEvent(Collection<ClientEntityAction> clientActions, boolean autoSelectSingleAction, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId)
ViewPortCursorBaseEvent(CoordI2 absolutePos, CoordI2 worldPos, CoordI2 worldPosSubOffset, List<CompositeAndEntityId> entitiesUnderCursor, long clickSession, int modifiers)
ViewPortDrawControlEvent(CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId, ControlRenderingBo bo)
ViewPortDrawImageEvent(int frameTTL, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId, String name, byte[] data, float transparency, RenderingBoLayer layer)
ViewPortDrawImageEvent(int frameTTL, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId, String resourceModName, String resourceName, RenderingBoLayer layer)
ViewPortEffectEvent(int ttl, DrawEffectRenderingBoEffects effect, RgbaColor color, CoordI2 originWorldPos, CoordI2 originEntityPos, UUID originCompositeEntityId, List<CoordI2> coordinates, List<CoordI2> tiledCoordinates, List<CompositeIdAndPosition> entityCoordinates, List<CoordI2> worldCoordinates, int customInt0, double customDouble0)
EffectViewPortEffectEvent(int ttl, DrawTileEffectRenderingBoEffects tileEffect, RgbaColor color, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId, List<CoordI2> coordinates, int customInt0, int customInt1, String customString0)
Tile EffectViewPortEntityStatusIconEvent(int frameTTL, UUID compositeEntityId, CoordI2 entityPosition, int iconTileset, CoordI2 iconTilesetPosition, ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode displayMode, CoordI2 subTileOffset)
ViewPortEntityStatusIconEvent(int frameTTL, UUID compositeEntityId, CoordI2 entityPosition, ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode displayMode)
ViewPortHighlightRasterEvent(boolean exclusive, CoordI2 absolutePos, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId)
ViewPortHighlightRasterEvent(boolean exclusive, CoordI2 absolutePos, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId, RgbaColor color, RenderingBoLayer layer)
ViewPortMoveEvent(CoordI2 vector)
ViewPortTileBaseEvent(int frameTTL, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId)
ViewPortTileClickPressEvent(CoordI2 absolutePos, CoordI2 worldPos, CoordI2 worldPosSubOffset, List<CompositeAndEntityId> entitiesUnderCursor, int button, long clickSession, int modifiers)
ViewPortTileClickReleaseEvent(CoordI2 absolutePos, CoordI2 worldPos, CoordI2 worldPosSubOffset, List<CompositeAndEntityId> entitiesUnderCursor, List<ClientEntityAction> clientEntityActions, int button, long clickSession, int modifiers)
ViewPortTileMouseMoveEvent(CoordI2 absolutePos, CoordI2 worldPos, CoordI2 worldPosSubOffset, List<CompositeAndEntityId> entitiesUnderCursor, int button, long clickSession, int modifiers, boolean dragging)
ViewPortWorldPosSelectionEvent(int frameTTL, boolean exlusive, CoordI2 worldPos, boolean zebra, RgbaColor color)
Constructor parameters in de.extio.spacecraft.shared.model.client.event with type arguments of type CoordI2 Constructor Description ViewPortEffectEvent(int ttl, DrawEffectRenderingBoEffects effect, RgbaColor color, CoordI2 originWorldPos, CoordI2 originEntityPos, UUID originCompositeEntityId, List<CoordI2> coordinates, List<CoordI2> tiledCoordinates, List<CompositeIdAndPosition> entityCoordinates, List<CoordI2> worldCoordinates, int customInt0, double customDouble0)
EffectViewPortEffectEvent(int ttl, DrawTileEffectRenderingBoEffects tileEffect, RgbaColor color, CoordI2 worldPos, CoordI2 entityPos, UUID compositeEntityId, List<CoordI2> coordinates, int customInt0, int customInt1, String customString0)
Tile Effect -
Uses of CoordI2 in de.extio.spacecraft.shared.model.client.settings
Methods in de.extio.spacecraft.shared.model.client.settings that return CoordI2 Modifier and Type Method Description CoordI2
OptionsModuleSettings. getEmbedPosition()
CoordI2
ViewPortModuleSettings. getViewPortWorldDimension()
CoordI2
ViewPortModuleSettings. getViewPortWorldPosition()
Methods in de.extio.spacecraft.shared.model.client.settings with parameters of type CoordI2 Modifier and Type Method Description void
OptionsModuleSettings. setEmbedPosition(CoordI2 embedPosition)
void
ViewPortModuleSettings. setViewPortWorldDimension(CoordI2 dimension)
void
ViewPortModuleSettings. setViewPortWorldPosition(CoordI2 viewPortPosition)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.entity
Fields in de.extio.spacecraft.shared.model.entity declared as CoordI2 Modifier and Type Field Description protected static CoordI2[]
AbstractCompositeEntity. DAMAGEWAVE_DIRECTIONS
protected CoordI2
AbstractCompositeEntity. dimension
protected CoordI2
AbstractCompositeEntity. position
protected CoordI2
AbstractCompositeEntity. prevPosition
Methods in de.extio.spacecraft.shared.model.entity that return CoordI2 Modifier and Type Method Description CoordI2
AbstractCompositeEntity. compressDimension()
Compresses the dimension of this composite.CoordI2
AbstractCompositeEntity. getDimension()
Spatial dimension of this compositeCoordI2
AbstractEntity. getDimension()
CoordI2
ClientEntityAction. getIconDeselectedTilesetPosition()
CoordI2
ClientEntityAction. getIconSelectedTilesetPosition()
CoordI2
AbstractCompositeEntity. getPosition()
CoordI2
AbstractEntity. getPosition()
CoordI2
DamageWavePoint. getPosition()
CoordI2
AbstractCompositeEntity. getPrevPosition()
CoordI2
ClientEntityAction. getTargetWorldPos()
CoordI2
AbstractEntity. getTilesetPosition()
CoordI2
AbstractEntityDef. getTilesetPosition()
Methods in de.extio.spacecraft.shared.model.entity with parameters of type CoordI2 Modifier and Type Method Description void
AbstractCompositeEntity. create(UUID uuid, CoordI2 position, CoordI2 dimension)
Called upon initial creation of this composite entity.List<AbstractCompositeEntity>
CompositeEntityFactory. create(CoordI2 worldPos, Map<String,String> parameters)
void
AbstractEntity. onClientSelectedPointToWorldPos(CoordI2 worldPos, List<CompositeAndEntityId> atPosition, int modifiers, List<ClientEntityAction> outClientActions)
Client side: Callback when this entity is selected and cursor is pointing to an empty tile in the game worldvoid
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
AbstractCompositeEntity. setDimension(CoordI2 dimension)
void
ClientEntityAction. setIconDeselectedTilesetPosition(CoordI2 iconDeselectedTilesetPosition)
void
ClientEntityAction. setIconSelectedTilesetPosition(CoordI2 iconSelectedTilesetPosition)
void
AbstractCompositeEntity. setPosition(CoordI2 position)
Only use this setter to set the initial position right after WorldManager#create before the first Worldmanager#put.void
AbstractEntity. setPosition(CoordI2 position)
Use this method for initial entity placement after EntityManager::create, but never update position after the initial EntityManager::put.void
DamageWavePoint. setPosition(CoordI2 position)
void
AbstractCompositeEntity. setPrevPosition(CoordI2 prevPosition)
void
ClientEntityAction. setTargetWorldPos(CoordI2 targetWorldPos)
void
AbstractEntityDef. setTilesetPosition(CoordI2 tilesetPosition)
Constructors in de.extio.spacecraft.shared.model.entity with parameters of type CoordI2 Constructor Description CompositeAndPosition(AbstractCompositeEntity compositeEntity, CoordI2 coord)
CompositeEntityIdZone(CoordI2 coord, CoordI2 dimension, UUID compositeEntityId)
CompositeEntityZone(CoordI2 coord, CoordI2 dimension, AbstractCompositeEntity compositeEntity)
CompositeIdAndPosition(UUID compositeEntityId, CoordI2 coord)
EntityDefZone(CoordI2 coord, CoordI2 dimension, AbstractEntityDef entityDef)
EntityIdZone(CoordI2 coord, CoordI2 dimension, UUID compositeEntityId, UUID entityId)
EntityLayerAndPosition(EntityLayer layer, CoordI2 coord)
EntityZone(CoordI2 coord, CoordI2 dimension, CompositeAndEntity entityRecord)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.entity.builtin.composite
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite that return CoordI2 Modifier and Type Method Description CoordI2
GenericRestrictedCompositeEntity. compressDimension()
CoordI2
SpaceCraft. compressDimension()
CoordI2
SpaceShip. compressDimension()
CoordI2
DarkMatter. getGravityRange1()
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite that return types with arguments of type CoordI2 Modifier and Type Method Description List<CoordI2>
SpaceShip. getShieldedHullbreaches()
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite with parameters of type CoordI2 Modifier and Type Method Description void
AbstractAiSpawnPortal. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
AbstractPortalCompositeEntity. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
DarkMatter. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
ImageSurfaceCompositeEntity. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
LootContainerCompositeEntity. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
SpaceCraft. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
SpaceShip. create(UUID uuid, CoordI2 position, CoordI2 dimension)
void
SpaceStation. create(UUID uuid, CoordI2 position, CoordI2 dimension)
protected void
SpaceCraft. onServerHullBreach(CoordI2 position, int change, GameSession gameSession)
Server side: Additional logic on tiles with a hull breachprotected void
SpaceShip. onServerHullBreach(CoordI2 position, int change, GameSession gameSession)
void
DarkMatter. setGravityRange1(CoordI2 gravityRange1)
Method parameters in de.extio.spacecraft.shared.model.entity.builtin.composite with type arguments of type CoordI2 Modifier and Type Method Description void
SpaceShip. setShieldedHullbreaches(List<CoordI2> shieldedHullbreaches)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.entity.builtin.composite.factory
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite.factory with parameters of type CoordI2 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)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.entity.builtin.def
Methods in de.extio.spacecraft.shared.model.entity.builtin.def that return CoordI2 Modifier and Type Method Description CoordI2
PhysicalEntityDef. getNoOperatorTilesetPosition()
CoordI2
PhysicalEntityDef. getTilesetDisabled()
CoordI2
PhysicalEntityDef. getTilesetInoperable()
CoordI2
RestrictedEntityDef. getTilesetPositionDamagedFull()
CoordI2
RestrictedEntityDef. getTilesetPositionDamagedPartly()
CoordI2
DoorEntityDef. getTilesetPositionOpenState()
Methods in de.extio.spacecraft.shared.model.entity.builtin.def with parameters of type CoordI2 Modifier and Type Method Description void
PhysicalEntityDef. setNoOperatorTilesetPosition(CoordI2 noOperatorTilesetPosition)
void
PhysicalEntityDef. setTilesetDisabled(CoordI2 tilesetDisabled)
void
PhysicalEntityDef. setTilesetInoperable(CoordI2 tilesetInoperable)
void
RestrictedEntityDef. setTilesetPositionDamagedFull(CoordI2 tilesetPositionDamagedFull)
void
RestrictedEntityDef. setTilesetPositionDamagedPartly(CoordI2 tilesetPositionDamagedPartly)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.entity.builtin.live
Fields in de.extio.spacecraft.shared.model.entity.builtin.live declared as CoordI2 Modifier and Type Field Description protected CoordI2
PhysicalEntity. clientPoseTilesetPosition
protected CoordI2
PhysicalEntity. entityActionTargetCoord
protected CoordI2
AbstractWeaponEntity. serverLastTargetDimension
protected CoordI2
AbstractWeaponEntity. serverLastTargetWorldPos
Methods in de.extio.spacecraft.shared.model.entity.builtin.live that return CoordI2 Modifier and Type Method Description CoordI2
RestrictedEntity. getAlternativeTilesetPosition()
CoordI2
PhysicalEntity. getEntityActionTargetCoord()
CoordI2
SensorEntity.SensorCollisionWarning. getOriginEntityPos()
CoordI2
AutomationAction. getPosition()
CoordI2
EngineEntity.EngineEntityWaypoint. getPosition()
CoordI2
PhysicalEntity. getSubTileOffset()
CoordI2
SensorEntity.SensorCollisionWarning. getTargetEntityPos()
CoordI2
SensorEntity.SensorCollisionWarning. getTargetWorldPos()
CoordI2
AbstractWeaponEntity. getTilesetPosition()
CoordI2
ImageSurfaceEntity. getTilesetPosition()
CoordI2
LootContainer. getTilesetPosition()
CoordI2
PhysicalEntity. getTilesetPosition()
CoordI2
RestrictedEntity. getTilesetPosition()
Methods in de.extio.spacecraft.shared.model.entity.builtin.live with parameters of type CoordI2 Modifier and Type Method Description protected abstract double
AbstractWeaponEntity. calculateAccuracy(AbstractCompositeEntity parent, AbstractWeaponEntityDef entityDef, AbstractCompositeEntity targetComposite, CoordI2 targetEntityPos)
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)
protected boolean
CrewEntity. checkActionPathFree(CoordI2 otherPosition)
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)
ClientConsoleComplexControlAction
PhysicalEntity. onClientComplexConsoleControlEvent(boolean controlsActive, int button, CoordI2 normalizedCoordinate)
Client side: Called when the user interacted with the entity consolevoid
AbstractWeaponEntity. onClientDrawEntityAction(List<RenderingBo> renderingBo, String action, boolean pending, CoordI2 subTileOffset)
void
CrewEntity. onClientDrawEntityAction(List<RenderingBo> renderingBo, String action, boolean pending, CoordI2 subTileOffset)
void
PhysicalEntity. onClientDrawEntityAction(List<RenderingBo> renderingBo, String action, boolean pending, CoordI2 subTileOffset)
Client side: Draws a certain action the entity is executingvoid
ShipEditorEntityPlugin. onClientShipEditorEntityPluginRenderToolbarContent(List<RenderingBo> renderingBo, CoordI2 absolutePosition, Area2 toolRenderingArea, Area2 editorSelection)
default void
StorableEntity. onServerStorageEject(int entityDefIdx, CoordI2 worldPos, AbstractCompositeEntity parent, GameSession gameSession)
void
AbstractWeaponEntity. requestAttack(CoordI2 worldPos)
void
AbstractWeaponEntity. requestAttack(UUID targetCompositeEntityId, CoordI2 targetEntityPos)
void
WeaponEntity. requestAttack(CoordI2 worldPos)
Requests weapon to attackvoid
WeaponEntity. requestAttack(UUID targetCompositeEntityId, CoordI2 targetEntityPos)
protected abstract void
AbstractWeaponEntity. serverAttack(GameSession gameSession, AbstractCompositeEntity composite, CoordI2 entityPos, Runnable onAttack)
protected abstract ViewPortEffectEvent
AbstractWeaponEntity. serverGenerateWeaponFireEffectEvent(GameSession gameSession, CoordI2 targetWorldPos, UUID compositeEntityId, CoordI2 entityPos)
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)
void
PhysicalEntity. serverSetEntityAction(String qualifier, CompositeAndEntityId target, CoordI2 targetCoord, boolean abortFirst, boolean forceNeedsOperator, boolean ignoreNeedsOperator, boolean deferActionMessage, UUID playerId, GameSession gameSession)
Server side: Sets an action the entity is executingvoid
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
AutomationAction. serverTranslateEntityPass1(Edge2 rotation, CoordI2 dimension, 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)
void
RestrictedEntity. setAlternativeTilesetPosition(CoordI2 alternativeTilesetPosition)
void
SensorEntity.SensorCollisionWarning. setOriginEntityPos(CoordI2 originEntityPos)
void
EngineEntity.EngineEntityWaypoint. setPosition(CoordI2 position)
void
SensorEntity.SensorCollisionWarning. setTargetEntityPos(CoordI2 targetEntityPos)
void
SensorEntity.SensorCollisionWarning. setTargetWorldPos(CoordI2 targetWorldPos)
void
ImageSurfaceEntity. setTilesetPosition(CoordI2 tilesetPosition)
Constructors in de.extio.spacecraft.shared.model.entity.builtin.live with parameters of type CoordI2 Constructor Description SensorCollisionWarning(CoordI2 originEntityPos, UUID target, CoordI2 targetWorldPos, CoordI2 targetEntityPos, int eta)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.message.client_internal
Methods in de.extio.spacecraft.shared.model.message.client_internal that return CoordI2 Modifier and Type Method Description CoordI2
MouseMessage. getCoord()
Methods in de.extio.spacecraft.shared.model.message.client_internal with parameters of type CoordI2 Modifier and Type Method Description void
MouseMessage. setCoord(CoordI2 coord)
Constructors in de.extio.spacecraft.shared.model.message.client_internal with parameters of type CoordI2 Constructor Description MouseClickMessage(boolean pressed, int modifiers, int button, CoordI2 coord)
MouseEnterMessage(int modifiers, CoordI2 coord)
MouseMessage(CoordI2 coord, int modifiers)
MouseMoveMessage(boolean drag, int modifiers, CoordI2 coord, int button)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.message.local
Methods in de.extio.spacecraft.shared.model.message.local that return types with arguments of type CoordI2 Modifier and Type Method Description org.apache.commons.lang3.tuple.Pair<UUID,CoordI2>
DebugControlMessage. getWarp()
Method parameters in de.extio.spacecraft.shared.model.message.local with type arguments of type CoordI2 Modifier and Type Method Description void
DebugControlMessage. setWarp(org.apache.commons.lang3.tuple.Pair<UUID,CoordI2> warp)
-
Uses of CoordI2 in de.extio.spacecraft.shared.model.world
Classes in de.extio.spacecraft.shared.model.world that implement CoordI2 Modifier and Type Class Description class
ImmutableCoordI2
Immutable implementation of CoordI2class
MutableCoordI2
Immutable implementation of CoordI2Methods in de.extio.spacecraft.shared.model.world that return CoordI2 Modifier and Type Method Description CoordI2
CoordI2. add(int n)
CoordI2
CoordI2. add(int dx, int dy)
CoordI2
CoordI2. add(HasPosition2 delta)
CoordI2
CoordI2. divide(int n)
CoordI2
CoordI2. divide(int dx, int dy)
CoordI2
CoordI2. divide(HasPosition2 delta)
CoordI2
RectI2. getC0()
CoordI2
RectI2. getC1()
CoordI2
Area2. getDimension()
CoordI2
HasPositionAndDimension2. getDimension()
CoordI2
Matrix2. getDimension()
default CoordI2
CoordI2. getPosition()
CoordI2
HasPosition2. getPosition()
CoordI2
Point2. getPosition()
CoordI2
CoordI2. multiply(int n)
CoordI2
CoordI2. multiply(int dx, int dy)
CoordI2
CoordI2. multiply(HasPosition2 delta)
CoordI2
CoordI2. setXY(int x, int y)
CoordI2
CoordI2. setXY(HasPosition2 other)
CoordI2
CoordI2. substract(int n)
CoordI2
CoordI2. substract(int dx, int dy)
CoordI2
CoordI2. substract(HasPosition2 delta)
default CoordI2
Coord2Conversion. toImmutableCoordI2()
default CoordI2
Coord2Conversion. toMutableCoordI2()
static CoordI2
Edge2. toVectorI(Edge2 edge2)
Returns a vector with length 1 pointing to the direction edge2 representatesMethods in de.extio.spacecraft.shared.model.world with parameters of type CoordI2 Modifier and Type Method Description default int
CoordI2. compareTo(CoordI2 other)
void
RectI2. setC0(CoordI2 c0)
void
RectI2. setC1(CoordI2 c1)
void
Area2. setDimension(CoordI2 dimension)
void
Point2. setPosition(CoordI2 coord)
Method parameters in de.extio.spacecraft.shared.model.world with type arguments of type CoordI2 Modifier and Type Method Description void
Matrix2. forEach(BiConsumer<CoordI2,T> consumer)
Constructors in de.extio.spacecraft.shared.model.world with parameters of type CoordI2 Constructor Description Area2(CoordI2 coord, CoordI2 dimension)
Point2(CoordI2 coord)
RectI2(CoordI2 c0, CoordI2 c1)
-
Uses of CoordI2 in de.extio.spacecraft.shared.module
Methods in de.extio.spacecraft.shared.module with parameters of type CoordI2 Modifier and Type Method Description boolean
AbstractClientModule. onMouseDrag(CoordI2 coord, int button, int modifiers)
boolean
ClientModule. onMouseDrag(CoordI2 coord, int button, int modifiers)
boolean
AbstractClientModule. onMouseEnter(CoordI2 coord, int modifiers)
boolean
ClientModule. onMouseEnter(CoordI2 coord, int modifiers)
boolean
AbstractClientModule. onMouseMove(CoordI2 coord, int modifiers)
boolean
ClientModule. onMouseMove(CoordI2 coord, int modifiers)
boolean
AbstractClientModule. onMousePress(CoordI2 coord, int button, int modifiers)
boolean
ClientModule. onMousePress(CoordI2 coord, int button, int modifiers)
boolean
AbstractClientModule. onMouseRelease(CoordI2 coord, int button, int modifiers)
boolean
ClientModule. onMouseRelease(CoordI2 coord, int button, int modifiers)
void
AbstractClientModule. onResize(CoordI2 effectiveViewportDimension)
void
ClientModule. onResize(CoordI2 effectiveViewportDimension)
-
Uses of CoordI2 in de.extio.spacecraft.shared.world
Methods in de.extio.spacecraft.shared.world that return CoordI2 Modifier and Type Method Description static CoordI2
WorldUtils. getClosestPoint(CoordI2 origin, HasPositionAndDimension2 target)
Get's the closest point at area target from originstatic CoordI2
WorldUtils. getRandomPointInCircle(CoordI2 center, int radius)
Returns a random point in a circlestatic CoordI2
WorldUtils. getRandomPointInCircle(CoordI2 center, int radius, Random random)
Returns a point in a circlestatic CoordI2
WorldUtils. getRandomPointOnCircle(CoordI2 center, int radius)
Returns a random point on a circlestatic CoordI2
WorldUtils. getRandomPointOnCircle(CoordI2 center, int radius, Random random)
Returns a random point on a circlestatic CoordI2
WorldUtils. getReproduciblePointOnCircle(CoordI2 center, int radius, AtomicInteger counter)
Returns a reproducible point on a circlestatic CoordI2
WorldUtils. intercept(CoordI2 pOrigin_, double velOrigin, CoordI2 pTarget_, CoordD2 vTarget_)
Calculates the point of intersection to intercept target from origin with velocity velOriginstatic 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 entityMethods in de.extio.spacecraft.shared.world that return types with arguments of type CoordI2 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.static List<CoordI2>
WorldUtils. getVertices(HasPositionAndDimension2 obj)
x-----x | | | | x-----xMethods in de.extio.spacecraft.shared.world with parameters of type CoordI2 Modifier and Type Method Description static int
WorldUtils. calcEdgeRequirement(CoordI2 c0, CoordI2 c1)
Calculates edge required at c1 to block the path from c0 to c1.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.void
BinarySearchIndex2D. executeAt(CoordI2 position, Consumer<T> consumer, Predicate<T> filter)
void
HashBucketIndex2D. executeAt(CoordI2 position, Consumer<T> consumer, Predicate<T> filter)
void
LinearSearchIndex2D. executeAt(CoordI2 position, Consumer<T> consumer, Predicate<T> filter)
void
QuadTree. executeAt(CoordI2 position, Consumer<T> consumer, Predicate<T> filter)
default void
SpatialIndex2D. executeAt(CoordI2 position, Consumer<T> consumer)
Executes a consumer for all objects at a given position.void
SpatialIndex2D. executeAt(CoordI2 position, Consumer<T> consumer, Predicate<T> filter)
Executes a consumer for all objects at a given position.List<T>
BinarySearchIndex2D. find(CoordI2 position, CoordI2 dimension, Predicate<T> filter)
List<T>
HashBucketIndex2D. find(CoordI2 position, CoordI2 dimension, Predicate<T> filter)
List<T>
LinearSearchIndex2D. find(CoordI2 position, CoordI2 dimension, Predicate<T> filter)
List<T>
QuadTree. find(CoordI2 position, CoordI2 dimension, Predicate<T> filter)
default List<T>
SpatialIndex2D. find(CoordI2 position, CoordI2 dimension)
Queries all object intersecting with a given areaList<T>
SpatialIndex2D. find(CoordI2 position, CoordI2 dimension, Predicate<T> filter)
Queries all object intersecting with a given area.T
BinarySearchIndex2D. findFirstAt(CoordI2 position, Predicate<T> filter)
T
HashBucketIndex2D. findFirstAt(CoordI2 position, Predicate<T> filter)
T
LinearSearchIndex2D. findFirstAt(CoordI2 position, Predicate<T> filter)
T
QuadTree. findFirstAt(CoordI2 position, Predicate<T> filter)
default T
SpatialIndex2D. findFirstAt(CoordI2 position)
Returns the first object at a given positionT
SpatialIndex2D. findFirstAt(CoordI2 position, Predicate<T> filter)
Returns the first object at a given position.static CoordI2
WorldUtils. getClosestPoint(CoordI2 origin, HasPositionAndDimension2 target)
Get's the closest point at area target from originstatic double
WorldUtils. getDistance(CoordI2 v)
The Pythagorean theoremstatic double
WorldUtils. getDistance(CoordI2 c0, CoordI2 c1)
The Pythagorean theoremstatic CoordD2
WorldUtils. getPedal(CoordI2 a, CoordI2 b, CoordI2 c)
Calculates the pedal of altitude c of triangle A.B,Cstatic CoordD2
WorldUtils. getPedalOnLineSegmentAB(CoordI2 a, CoordI2 b, CoordI2 c)
Get's the pedal of altitude c of triangle A.B,C or the closest point on line segment a,bstatic CoordI2
WorldUtils. getRandomPointInCircle(CoordI2 center, int radius)
Returns a random point in a circlestatic CoordI2
WorldUtils. getRandomPointInCircle(CoordI2 center, int radius, Random random)
Returns a point in a circlestatic CoordI2
WorldUtils. getRandomPointOnCircle(CoordI2 center, int radius)
Returns a random point on a circlestatic CoordI2
WorldUtils. getRandomPointOnCircle(CoordI2 center, int radius, Random random)
Returns a random point on a circlestatic CoordI2
WorldUtils. getReproduciblePointOnCircle(CoordI2 center, int radius, AtomicInteger counter)
Returns a reproducible point on a circlestatic Edge2
WorldUtils. getSector(CoordI2 point, HasPositionAndDimension2 source)
Returns the sector the point is located from source's viewstatic double
WorldUtils. getVectorAngle(CoordI2 v)
Calculate the direction of a vectorstatic double
WorldUtils. getVectorAngle(CoordI2 v0, CoordI2 v1)
Calculate the angle between 2 vectorsstatic CoordI2
WorldUtils. intercept(CoordI2 pOrigin_, double velOrigin, CoordI2 pTarget_, CoordD2 vTarget_)
Calculates the point of intersection to intercept target from origin with velocity velOriginstatic boolean
WorldUtils. intersects(CoordI2 position0, CoordI2 dimension0, CoordI2 position1, CoordI2 dimension1)
Checks whether 2 objects intersectstatic boolean
WorldUtils. isInBounds(CoordI2 coord, CoordI2 dimension)
Checks whether coord is within bounds (e.g.static boolean
WorldUtils. isInBounds(HasPosition2 hasPosition, CoordI2 dimension)
Checks whether coord is within bounds (e.g.void
BinarySearchIndex2D. move(T obj, CoordI2 oldPosition, CoordI2 oldDimension)
void
HashBucketIndex2D. move(T obj, CoordI2 oldPosition, CoordI2 oldDimension)
void
LinearSearchIndex2D. move(T obj, CoordI2 oldPosition, CoordI2 oldDimension)
void
QuadTree. move(T obj, CoordI2 oldPosition, CoordI2 oldDimension)
void
SpatialIndex2D. move(T obj, CoordI2 oldPosition, CoordI2 oldDimension)
Moves an indexed object to a new location.static Area2
WorldUtils. pointsToArea(CoordI2... points)
Builds an aligned Area2 from arbitrary pointsstatic 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 entityMethod parameters in de.extio.spacecraft.shared.world with type arguments of type CoordI2 Modifier and Type Method Description void
GridIndex2D. forEach(BiConsumer<CoordI2,List<T>> action)
-