Class DefaultGridImpl
Inheritance
DefaultGridImpl
Assembly: cs.temp.dll.dll
Syntax
public static class DefaultGridImpl
Methods
TryMoveByOffset(IGrid, Vector3Int, Vector3Int, Vector3Int, CellRotation, out Vector3Int, out CellRotation)
Declaration
public static bool TryMoveByOffset(IGrid grid, Vector3Int startCell, Vector3Int startOffset, Vector3Int destOffset, CellRotation startRotation, out Vector3Int destCell, out CellRotation destRotation)
Parameters
Type |
Name |
Description |
IGrid |
grid |
|
Vector3Int |
startCell |
|
Vector3Int |
startOffset |
|
Vector3Int |
destOffset |
|
CellRotation |
startRotation |
|
Vector3Int |
destCell |
|
CellRotation |
destRotation |
|
Returns