Package de.extio.spacecraft.shared.model.world
Data objects representing the game world
-
Interface Summary Interface Description Coord2Conversion Helper to convert between mutable and immutable representations of tuples (coordinates and vectors)CoordD2 A floating point number tuple (can represent a point, a coordinate or a vector in 2D space).CoordI2 An integer tuple (can represent a point, a coordinate or a vector in 2D space).HasPosition2 Interface for objects having a position (top left corner)HasPositionAndDimension2 Interface for objects occupying 2D area, having a position (top left corner) and a dimensionSpatialIndex2Capable Objects that can be indexed in SpatialIndex2D implementations -
Class Summary Class Description Area2 A 2D area, having a position (top left corner) and a dimensionImmutableCoordD2 Immutable implementation of CoordD2ImmutableCoordI2 Immutable implementation of CoordI2Matrix2<T> Implements a 2D matrixMutableCoordD2 Immutable implementation of CoordD2MutableCoordI2 Immutable implementation of CoordI2Point2 A point in 2D spaceRectI2 A rectangle represented by top left (c0) and bottom right (c1) vertices -
Enum Summary Enum Description Edge2 Identifies a vertex or a side