Class TopoArrayUtils
Inheritance
TopoArrayUtils
Assembly: DeBroglie.dll
Syntax
public static class TopoArrayUtils
Methods
|
Edit this page
View Source
HexRotate(ITopoArray<Tile>, Rotation, TileRotation)
Declaration
public static ITopoArray<Tile> HexRotate(ITopoArray<Tile> original, Rotation rotation, TileRotation tileRotation = null)
Parameters
Returns
|
Edit this page
View Source
HexRotateVector(int, int, Rotation)
Declaration
public static (int, int) HexRotateVector(int x, int y, Rotation rotation)
Parameters
Returns
|
Edit this page
View Source
HexRotate<T>(ITopoArray<T>, Rotation, TileRotate<T>)
Declaration
public static ITopoArray<T> HexRotate<T>(ITopoArray<T> original, Rotation rotation, TopoArrayUtils.TileRotate<T> tileRotate = null)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Rotate(ITopoArray<Tile>, Rotation, TileRotation)
Declaration
public static ITopoArray<Tile> Rotate(ITopoArray<Tile> original, Rotation rotation, TileRotation tileRotation = null)
Parameters
Returns
|
Edit this page
View Source
RotateDirection(DirectionSet, Direction, Rotation)
Declaration
public static Direction RotateDirection(DirectionSet directions, Direction direction, Rotation rotation)
Parameters
Returns
|
Edit this page
View Source
RotateVector(DirectionSetType, int, int, Rotation)
Declaration
public static (int, int) RotateVector(DirectionSetType type, int x, int y, Rotation rotation)
Parameters
Returns
|
Edit this page
View Source
Rotate<T>(ITopoArray<T>, Rotation, TileRotate<T>)
Declaration
public static ITopoArray<T> Rotate<T>(ITopoArray<T> original, Rotation rotation, TopoArrayUtils.TileRotate<T> tileRotate = null)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
SquareRotate(ITopoArray<Tile>, Rotation, TileRotation)
Declaration
public static ITopoArray<Tile> SquareRotate(ITopoArray<Tile> original, Rotation rotation, TileRotation tileRotation = null)
Parameters
Returns
|
Edit this page
View Source
SquareRotateVector(int, int, Rotation)
Declaration
public static (int, int) SquareRotateVector(int x, int y, Rotation rotation)
Parameters
Returns
|
Edit this page
View Source
SquareRotate<T>(ITopoArray<T>, Rotation, TileRotate<T>)
Declaration
public static ITopoArray<T> SquareRotate<T>(ITopoArray<T> original, Rotation rotation, TopoArrayUtils.TileRotate<T> tileRotate = null)
Parameters
Returns
Type Parameters