HexMapLibrary
|
Public Member Functions | |
TileDataProvider (Dictionary< Vector3Int, Tile< T >> tilesByPosition, TilePositionProvider tilePositionProvider) | |
Tile< T > | FromCartesianCoordinate (Vector3 cartesianCoordinate) |
TODO add more description, returns null if it the input coordinate is not on the map; More... | |
Tile< T > | FromTileRotated60DegreeClockwise (Vector3Int center, Vector3Int pointToRotate) |
rotates the input tile coordinate 60° Clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds More... | |
Tile< T > | FromTileRotated60DegreeClockwise (Tile< T > center, Tile< T > pointToRotate) |
rotates the input tile coordinate 60° Clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds More... | |
Tile< T > | FromTileRotated60DegreeCounterClockwise (Vector3Int center, Vector3Int pointToRotate) |
rotates the input tile coordinate 60° Counter-clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds More... | |
Tile< T > | FromTileRotated60DegreeCounterClockwise (Tile< T > center, Tile< T > pointToRotate) |
rotates the input tile coordinate 60° Counter-clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds More... | |
Private Attributes | |
Dictionary< Vector3Int, Tile< T > > | tilesByPosition |
TilePositionProvider | tilePositionProvider |
Tile<T> Wunderwunsch.HexMapLibrary.Generic.TileDataProvider< T >.FromCartesianCoordinate | ( | Vector3 | cartesianCoordinate | ) |
TODO add more description, returns null if it the input coordinate is not on the map;
cartesianCoordinate |
Tile<T> Wunderwunsch.HexMapLibrary.Generic.TileDataProvider< T >.FromTileRotated60DegreeClockwise | ( | Vector3Int | center, |
Vector3Int | pointToRotate | ||
) |
rotates the input tile coordinate 60° Clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds
Tile<T> Wunderwunsch.HexMapLibrary.Generic.TileDataProvider< T >.FromTileRotated60DegreeClockwise | ( | Tile< T > | center, |
Tile< T > | pointToRotate | ||
) |
rotates the input tile coordinate 60° Clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds
Tile<T> Wunderwunsch.HexMapLibrary.Generic.TileDataProvider< T >.FromTileRotated60DegreeCounterClockwise | ( | Vector3Int | center, |
Vector3Int | pointToRotate | ||
) |
rotates the input tile coordinate 60° Counter-clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds
Tile<T> Wunderwunsch.HexMapLibrary.Generic.TileDataProvider< T >.FromTileRotated60DegreeCounterClockwise | ( | Tile< T > | center, |
Tile< T > | pointToRotate | ||
) |
rotates the input tile coordinate 60° Counter-clockwise around the specified center point and returns the tile on that position. returns null if outside of map bounds