Class DefaultCellTypeImpl
Inheritance
DefaultCellTypeImpl
Assembly: cs.temp.dll.dll
Syntax
public static class DefaultCellTypeImpl
Methods
Realign(ICellType, ISet<Vector3Int>, CellRotation)
Declaration
public static IDictionary<Vector3Int, Vector3Int> Realign(ICellType cellType, ISet<Vector3Int> shape, CellRotation rotation)
Parameters
Returns
TryMoveByOffset(ICellType, Vector3Int, Vector3Int, Vector3Int, CellRotation, out Vector3Int)
Declaration
public static bool TryMoveByOffset(ICellType cellType, Vector3Int startCell, Vector3Int startOffset, Vector3Int destOffset, CellRotation rotation, out Vector3Int destCell)
Parameters
Type |
Name |
Description |
ICellType |
cellType |
|
Vector3Int |
startCell |
|
Vector3Int |
startOffset |
|
Vector3Int |
destOffset |
|
CellRotation |
rotation |
|
Vector3Int |
destCell |
|
Returns