HexMapLibrary
|
Public Member Functions | |
EdgeDataProvider (Dictionary< Vector3Int, Edge< E >> edgesByPosition, EdgePositionProvider edgePositionProvider) | |
Edge< E > | FromCartesianCoordinate (Vector3 cartesianCoordinate) |
returns the periodic edge of the input cartesian coordinate. returns null if outside of map bounds More... | |
Edge< E > | BetweenNeighbouringCorners (Vector3Int cornerA, Vector3Int cornerB) |
returns the edge between the input corners More... | |
Edge< E > | BetweenNeighbouringTiles (Vector3Int tileA, Vector3Int tileB) |
returns the edge coordinate between the input tiles More... | |
Private Attributes | |
Dictionary< Vector3Int, Edge< E > > | edgesByPosition |
EdgePositionProvider | edgePositionProvider |
Edge<E> Wunderwunsch.HexMapLibrary.Generic.EdgeDataProvider< E >.FromCartesianCoordinate | ( | Vector3 | cartesianCoordinate | ) |
returns the periodic edge of the input cartesian coordinate. returns null if outside of map bounds
Edge<E> Wunderwunsch.HexMapLibrary.Generic.EdgeDataProvider< E >.BetweenNeighbouringCorners | ( | Vector3Int | cornerA, |
Vector3Int | cornerB | ||
) |
returns the edge between the input corners
Edge<E> Wunderwunsch.HexMapLibrary.Generic.EdgeDataProvider< E >.BetweenNeighbouringTiles | ( | Vector3Int | tileA, |
Vector3Int | tileB | ||
) |
returns the edge coordinate between the input tiles