Skip navigation links
A B C D E F G H I M O P R S T V 

A

addCoordinate(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Adds a CubeCoordinate for this grid without any SatelliteData.
addCoordinate(CubeCoordinate, T) - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Adds a CubeCoordinate for this grid with SatelliteData.
addCoordinate(CubeCoordinate) - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
addCoordinate(CubeCoordinate, DefaultSatelliteData) - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 

B

build() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Builds a HexagonalGrid using the parameters supplied.
buildCalculatorFor(HexagonalGrid) - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder

C

calculateDistanceBetween(Hexagon<T>, Hexagon<T>) - Method in interface org.codetome.hexameter.core.api.HexagonalGridCalculator
Calculates the distance (in hexagons) between two Hexagon objects on the grid.
calculateDistanceBetween(Hexagon, Hexagon) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 
calculateMovementRangeFrom(Hexagon<T>, int) - Method in interface org.codetome.hexameter.core.api.HexagonalGridCalculator
Returns all Hexagons which are within distance (inclusive) from the Hexagon.
calculateMovementRangeFrom(Hexagon<T>, int) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 
calculateRingFrom(Hexagon<T>, int) - Method in interface org.codetome.hexameter.core.api.HexagonalGridCalculator
Returns the Set of Hexagons which are radius distance from centerHexagon.
calculateRingFrom(Hexagon<T>, int) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 
calculateRotation(CubeCoordinate) - Method in enum org.codetome.hexameter.core.api.RotationDirection
Calculates a rotation (right or left) of coord.
checkCommonCase(int, int) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.GridLayoutStrategy
 
checkParameters(int, int) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.GridLayoutStrategy
Checks whether the supplied parameters are valid for the given strategy.
checkParameters(int, int) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.HexagonalGridLayoutStrategy
 
checkParameters(int, int) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.RectangularGridLayoutStrategy
 
checkParameters(int, int) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.TrapezoidGridLayoutStrategy
 
checkParameters(int, int) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.TriangularGridLayoutStrategy
 
clearDataFor(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Clears the SatelliteData for the given CubeCoordinate.
clearDataFor(CubeCoordinate) - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
clearSatelliteData() - Method in interface org.codetome.hexameter.core.api.Hexagon
Clears the satellite data of this Hexagon.
clearSatelliteData() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
containsCoordinate(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Tells whether there is a Hexagon on the given CubeCoordinate or not.
containsCoordinate(CubeCoordinate) - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
containsCubeCoordinate(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Tells whether the given cube coordinate is on the grid or not.
containsCubeCoordinate(CubeCoordinate) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
convertOffsetCoordinatesToCubeX(int, int, HexagonOrientation) - Static method in class org.codetome.hexameter.core.api.CoordinateConverter
Calculates the cube X coordinate based on an offset coordinate pair.
convertOffsetCoordinatesToCubeZ(int, int, HexagonOrientation) - Static method in class org.codetome.hexameter.core.api.CoordinateConverter
Calculates the cube Z coordinate based on an offset coordinate pair.
CoordinateConverter - Class in org.codetome.hexameter.core.api
Utility class for converting coordinated from the offset system to the cube one (the library uses the latter).
CoordinateConverter() - Constructor for class org.codetome.hexameter.core.api.CoordinateConverter
 
CubeCoordinate - Class in org.codetome.hexameter.core.api
Represents a cube coorinate pair.

D

DefaultHexagonDataStorage - Class in org.codetome.hexameter.core.api.defaults
 
DefaultHexagonDataStorage() - Constructor for class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
DefaultSatelliteData - Class in org.codetome.hexameter.core.api.defaults
Convenience class implementing SatelliteData.
DefaultSatelliteData() - Constructor for class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
distanceFrom(Point) - Method in class org.codetome.hexameter.core.api.Point
Calculates a distance between two points.
drawLine(Hexagon<T>, Hexagon<T>) - Method in interface org.codetome.hexameter.core.api.HexagonalGridCalculator
Returns a List of Hexagons which must be traversed in the given order to go from the from Hexagon to the to Hexagon.
drawLine(Hexagon<T>, Hexagon<T>) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 

E

empty() - Static method in class org.codetome.hexameter.core.backport.Optional
Returns an empty Optional instance.
equals(Object) - Method in class org.codetome.hexameter.core.api.CubeCoordinate
 
equals(Object) - Method in class org.codetome.hexameter.core.backport.Optional
Indicates whether some other object is "equal to" this Optional.
equals(Object) - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 

F

fetchGridCoordinates(HexagonalGridBuilder) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.GridLayoutStrategy
Fetches a monotonically increasing (from left to right, top to bottom) Set of grid coordinates corresponding to the shape of the requested grid layout.
fetchGridCoordinates(HexagonalGridBuilder) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.HexagonalGridLayoutStrategy
 
fetchGridCoordinates(HexagonalGridBuilder) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.RectangularGridLayoutStrategy
 
fetchGridCoordinates(HexagonalGridBuilder) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.TrapezoidGridLayoutStrategy
 
fetchGridCoordinates(HexagonalGridBuilder) - Method in class org.codetome.hexameter.core.internal.impl.layoutstrategy.TriangularGridLayoutStrategy
 
filter(Predicate<? super T>) - Method in class org.codetome.hexameter.core.backport.Optional
If a value is present, and the value matches the given predicate, return an Optional describing the value, otherwise return an empty Optional.
flatMap(Function<? super T, Optional<U>>) - Method in class org.codetome.hexameter.core.backport.Optional
If a value is present, apply the provided Optional-bearing mapping function to it, return that result, otherwise return an empty Optional.
fromAxialKey(String) - Static method in class org.codetome.hexameter.core.api.CubeCoordinate
Tries to create an CubeCoordinate from a key which has the format: %gridX%,%gridZ%.
fromCoordinates(int, int) - Static method in class org.codetome.hexameter.core.api.CubeCoordinate
Creates an instance of CubeCoordinate from an x and a z coordinate.
fromPosition(double, double) - Static method in class org.codetome.hexameter.core.api.Point
Creates a point from coordinateX and coordinateY positions.

G

get() - Method in class org.codetome.hexameter.core.backport.Optional
If a value is present in this Optional, returns the value, otherwise throws NoSuchElementException.
getByCubeCoordinate(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns a Hexagon by its cube coordinate.
getByCubeCoordinate(CubeCoordinate) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getByPixelCoordinate(double, double) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns a Hexagon by a pixel coordinate.
getByPixelCoordinate(double, double) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getCenterX() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns the center x (pixel) coordinate of this Hexagon.
getCenterX() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getCenterY() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns the center y (pixel) coordinate of this Hexagon.
getCenterY() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getCoordinateOffset() - Method in enum org.codetome.hexameter.core.api.HexagonOrientation
This is because the flat/pointy shape of a hexagon.
getCoordinates() - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Returns all coordinates which are stored in this object.
getCoordinates() - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
getCoordinateX() - Method in class org.codetome.hexameter.core.api.Point
 
getCoordinateY() - Method in class org.codetome.hexameter.core.api.Point
 
getCubeCoordinate() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns the CubeCoordinate of this Hexagon.
getCubeCoordinate() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getGridData() - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns this HexagonalGrid's GridData.
getGridData() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Returns the GridData.
getGridData() - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getGridHeight() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
getGridHeight() - Method in class org.codetome.hexameter.core.internal.GridData
 
getGridLayout() - Method in class org.codetome.hexameter.core.internal.GridData
 
getGridLayoutStrategy() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
getGridLayoutStrategy() - Method in enum org.codetome.hexameter.core.api.HexagonalGridLayout
 
getGridWidth() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
getGridWidth() - Method in class org.codetome.hexameter.core.internal.GridData
 
getGridX() - Method in class org.codetome.hexameter.core.api.CubeCoordinate
 
getGridX() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns this Hexagon's x (cube) coordinate on the HexagonalGrid.
getGridX() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getGridY() - Method in class org.codetome.hexameter.core.api.CubeCoordinate
 
getGridY() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns this Hexagon's y coordinate on the HexagonalGrid.
getGridY() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getGridZ() - Method in class org.codetome.hexameter.core.api.CubeCoordinate
 
getGridZ() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns this Hexagon's z (cube) coordinate on the HexagonalGrid.
getGridZ() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getHexagonDataStorage() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
getHexagonHeight() - Method in class org.codetome.hexameter.core.internal.GridData
 
getHexagons() - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns all Hexagons contained in this grid.
getHexagons() - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getHexagonsByCubeRange(CubeCoordinate, CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns all Hexagons contained in the given cube coordinate range.
getHexagonsByCubeRange(CubeCoordinate, CubeCoordinate) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getHexagonsByOffsetRange(int, int, int, int) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns all Hexagons contained in the given offset coordinate range.
getHexagonsByOffsetRange(int, int, int, int) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getHexagonWidth() - Method in class org.codetome.hexameter.core.internal.GridData
 
getId() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns an unique String representing this Hexagon.
getId() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getMovementCost() - Method in interface org.codetome.hexameter.core.api.contract.SatelliteData
Returns the movement cost when moving over the Hexagon.
getMovementCost() - Method in class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
getNeighborByIndex(Hexagon<T>, int) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns a neighbor of a Hexagon by its neighbor index.
getNeighborByIndex(Hexagon<T>, int) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getNeighborsOf(Hexagon<T>) - Method in interface org.codetome.hexameter.core.api.HexagonalGrid
Returns all neighbors of a Hexagon.
getNeighborsOf(Hexagon<T>) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
 
getOrientation() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
getOrientation() - Method in class org.codetome.hexameter.core.internal.GridData
 
getPoints() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns a list containing the Points of this Hexagon.
getPoints() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getRadius() - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
getRadius() - Method in class org.codetome.hexameter.core.internal.GridData
 
getSatelliteData() - Method in interface org.codetome.hexameter.core.api.Hexagon
Returns this Hexagon's satellite data.
getSatelliteData() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
getSatelliteDataBy(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Gets the SatelliteData stored on a CubeCoordinate if present.
getSatelliteDataBy(CubeCoordinate) - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
GridData - Class in org.codetome.hexameter.core.internal
Immutable class which holds the shared data between the Hexagons of a HexagonalGrid and the HexagonalGrid's own immutable properties.
GridData(HexagonOrientation, HexagonalGridLayout, double, int, int) - Constructor for class org.codetome.hexameter.core.internal.GridData
Creates a new GridData based on orientation and radius.
GridLayoutStrategy - Class in org.codetome.hexameter.core.internal.impl.layoutstrategy
Represents the method of creating a HexagonalGrid corresponding to a given shape.
GridLayoutStrategy() - Constructor for class org.codetome.hexameter.core.internal.impl.layoutstrategy.GridLayoutStrategy
 

H

hasDataFor(CubeCoordinate) - Method in interface org.codetome.hexameter.core.api.contract.HexagonDataStorage
Tells whether there is SatelliteData stored for a CubeCoordinate or not.
hasDataFor(CubeCoordinate) - Method in class org.codetome.hexameter.core.api.defaults.DefaultHexagonDataStorage
 
hashCode() - Method in class org.codetome.hexameter.core.api.CubeCoordinate
 
hashCode() - Method in class org.codetome.hexameter.core.backport.Optional
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.
hashCode() - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 
Hexagon<T extends SatelliteData> - Interface in org.codetome.hexameter.core.api
Represents a Hexagon.
HexagonalGrid<T extends SatelliteData> - Interface in org.codetome.hexameter.core.api
Represents a hexagonal grid.
HexagonalGridBuilder<T extends SatelliteData> - Class in org.codetome.hexameter.core.api
Builder for a HexagonalGrid.
HexagonalGridBuilder() - Constructor for class org.codetome.hexameter.core.api.HexagonalGridBuilder
 
HexagonalGridCalculator<T extends SatelliteData> - Interface in org.codetome.hexameter.core.api
Supports advanced operations on a HexagonalGrid.
HexagonalGridCalculatorImpl<T extends SatelliteData> - Class in org.codetome.hexameter.core.internal.impl
 
HexagonalGridCalculatorImpl(HexagonalGrid) - Constructor for class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 
HexagonalGridCreationException - Exception in org.codetome.hexameter.core.api.exception
 
HexagonalGridCreationException(String) - Constructor for exception org.codetome.hexameter.core.api.exception.HexagonalGridCreationException
 
HexagonalGridImpl<T extends SatelliteData> - Class in org.codetome.hexameter.core.internal.impl
 
HexagonalGridImpl(HexagonalGridBuilder<T>) - Constructor for class org.codetome.hexameter.core.internal.impl.HexagonalGridImpl
Creates a new HexagonalGrid based on the provided HexagonalGridBuilder.
HexagonalGridLayout - Enum in org.codetome.hexameter.core.api
This enum represents the possible shapes a HexagonalGrid can have.
HexagonalGridLayoutStrategy - Class in org.codetome.hexameter.core.internal.impl.layoutstrategy
This strategy is responsible for generating a HexagonalGrid which has a hexagonal shape.
HexagonalGridLayoutStrategy() - Constructor for class org.codetome.hexameter.core.internal.impl.layoutstrategy.HexagonalGridLayoutStrategy
 
HexagonDataStorage<T extends SatelliteData> - Interface in org.codetome.hexameter.core.api.contract
This interface represents all storage operations which are needed for a working HexagonalGrid.
HexagonImpl<T extends SatelliteData> - Class in org.codetome.hexameter.core.internal.impl
Default implementation of the Hexagon interface.
HexagonImpl(GridData, CubeCoordinate, HexagonDataStorage<T>) - Constructor for class org.codetome.hexameter.core.internal.impl.HexagonImpl
Creates a new Hexagon object from shared data and a coordinate.
HexagonOrientation - Enum in org.codetome.hexameter.core.api
Enum representing the possible orientations of a Hexagon.

I

ifPresent(Consumer<? super T>) - Method in class org.codetome.hexameter.core.backport.Optional
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
isOpaque() - Method in interface org.codetome.hexameter.core.api.contract.SatelliteData
 
isOpaque() - Method in class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
isPassable() - Method in interface org.codetome.hexameter.core.api.contract.SatelliteData
Tells whether the Hexagon can be passed over when moving around the map or not.
isPassable() - Method in class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
isPresent() - Method in class org.codetome.hexameter.core.backport.Optional
Return true if there is a value present, otherwise false.
isVisible(Hexagon<T>, Hexagon<T>) - Method in interface org.codetome.hexameter.core.api.HexagonalGridCalculator
Returns true if the from Hexagon is visible from the to Hexagon.
isVisible(Hexagon<T>, Hexagon<T>) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 

M

map(Function<? super T, ? extends U>) - Method in class org.codetome.hexameter.core.backport.Optional
If a value is present, apply the provided mapping function to it, and if the result is non-null, return an Optional describing the result.

O

of(T) - Static method in class org.codetome.hexameter.core.backport.Optional
Returns an Optional with the specified present non-null value.
ofNullable(T) - Static method in class org.codetome.hexameter.core.backport.Optional
Returns an Optional describing the specified value, if non-null, otherwise returns an empty Optional.
Optional<T> - Class in org.codetome.hexameter.core.backport
A container object which may or may not contain a non-null value.
orElse(T) - Method in class org.codetome.hexameter.core.backport.Optional
Return the value if present, otherwise return other.
orElseGet(Supplier<? extends T>) - Method in class org.codetome.hexameter.core.backport.Optional
Return the value if present, otherwise invoke other and return the result of that invocation.
orElseThrow(Supplier<? extends X>) - Method in class org.codetome.hexameter.core.backport.Optional
Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
org.codetome.hexameter.core.api - package org.codetome.hexameter.core.api
 
org.codetome.hexameter.core.api.contract - package org.codetome.hexameter.core.api.contract
 
org.codetome.hexameter.core.api.defaults - package org.codetome.hexameter.core.api.defaults
 
org.codetome.hexameter.core.api.exception - package org.codetome.hexameter.core.api.exception
 
org.codetome.hexameter.core.backport - package org.codetome.hexameter.core.backport
 
org.codetome.hexameter.core.internal - package org.codetome.hexameter.core.internal
 
org.codetome.hexameter.core.internal.impl - package org.codetome.hexameter.core.internal.impl
 
org.codetome.hexameter.core.internal.impl.layoutstrategy - package org.codetome.hexameter.core.internal.impl.layoutstrategy
 

P

Point - Class in org.codetome.hexameter.core.api
Represents a point.

R

RectangularGridLayoutStrategy - Class in org.codetome.hexameter.core.internal.impl.layoutstrategy
This strategy is responsible for generating a HexagonalGrid which has a rectangular shape.
RectangularGridLayoutStrategy() - Constructor for class org.codetome.hexameter.core.internal.impl.layoutstrategy.RectangularGridLayoutStrategy
 
rotateHexagon(Hexagon<T>, Hexagon<T>, RotationDirection) - Method in interface org.codetome.hexameter.core.api.HexagonalGridCalculator
Returns the Hexagon on the grid which is at the point resulted by rotating the targetHex's coordinates around the originalHex by rotationDirection degrees.
rotateHexagon(Hexagon<T>, Hexagon<T>, RotationDirection) - Method in class org.codetome.hexameter.core.internal.impl.HexagonalGridCalculatorImpl
 
RotationDirection - Enum in org.codetome.hexameter.core.api
Represents a right or left angle (60°) of a Hexagon rotation.

S

SatelliteData - Interface in org.codetome.hexameter.core.api.contract
Represents arbitrary data which can be attached to a Hexagon.
SEP - Static variable in class org.codetome.hexameter.core.api.CubeCoordinate
 
setGridHeight(int) - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Mandatory parameter.
setGridLayout(HexagonalGridLayout) - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Sets the HexagonalGridLayout which will be used when creating the HexagonalGrid.
setGridWidth(int) - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Mandatory parameter.
setMovementCost(double) - Method in interface org.codetome.hexameter.core.api.contract.SatelliteData
Sets the movement cost.
setMovementCost(double) - Method in class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
setOpaque(boolean) - Method in interface org.codetome.hexameter.core.api.contract.SatelliteData
Set whether the Hexagon can be seen through.
setOpaque(boolean) - Method in class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
setOrientation(HexagonOrientation) - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Sets the HexagonOrientation used in the resulting HexagonalGrid.
setPassable(boolean) - Method in interface org.codetome.hexameter.core.api.contract.SatelliteData
Sets whether the Hexagon is passable or not.
setPassable(boolean) - Method in class org.codetome.hexameter.core.api.defaults.DefaultSatelliteData
 
setRadius(double) - Method in class org.codetome.hexameter.core.api.HexagonalGridBuilder
Sets the radius of the Hexagons contained in the resulting HexagonalGrid.
setSatelliteData(T) - Method in interface org.codetome.hexameter.core.api.Hexagon
Can be used to add arbitrary satellite data to a Hexagon.
setSatelliteData(T) - Method in class org.codetome.hexameter.core.internal.impl.HexagonImpl
 

T

toAxialKey() - Method in class org.codetome.hexameter.core.api.CubeCoordinate
Creates an axial (x, z) key which can be used in key-value storage objects based on this CubeCoordinate.
toString() - Method in class org.codetome.hexameter.core.backport.Optional
Returns a non-empty string representation of this Optional suitable for debugging.
TrapezoidGridLayoutStrategy - Class in org.codetome.hexameter.core.internal.impl.layoutstrategy
 
TrapezoidGridLayoutStrategy() - Constructor for class org.codetome.hexameter.core.internal.impl.layoutstrategy.TrapezoidGridLayoutStrategy
 
TriangularGridLayoutStrategy - Class in org.codetome.hexameter.core.internal.impl.layoutstrategy
This strategy is responsible for generating a HexagonalGrid which has a triangular shape.
TriangularGridLayoutStrategy() - Constructor for class org.codetome.hexameter.core.internal.impl.layoutstrategy.TriangularGridLayoutStrategy
 

V

valueOf(String) - Static method in enum org.codetome.hexameter.core.api.HexagonalGridLayout
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.codetome.hexameter.core.api.HexagonOrientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.codetome.hexameter.core.api.RotationDirection
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.codetome.hexameter.core.api.HexagonalGridLayout
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.codetome.hexameter.core.api.HexagonOrientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.codetome.hexameter.core.api.RotationDirection
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I M O P R S T V 
Skip navigation links

Copyright © 2016. All rights reserved.