Gamelogic Grids 1 Documentation [Deprecated]
Gamelogic Grids 1 Documentation [Deprecated]
Gamelogic.Grids
RectGrid(TCell) Class
RectGrid(TCell) Methods
ArrayPointFromGridPoint Method
ArrayPointFromPoint Method
BeginShape Method
CalculateStorage Method
CheckerBoard Method
Circle Method
CloneStructure(TNewCellType) Method
Default Method
DefaultContains Method
FixedHeight Method
FixedWidth Method
GetPrincipleNeighborDirections Method
GetSpiralIterator Method
GridPointFromArrayPoint Method
HorizontallyWrappedParallelogram Method
MakeEdgeGrid(TNewCell) Method
MakeVertexGrid(TNewCell) Method
Parallelogram Method
PointFromArrayPoint Method
Rectangle Method
SetNeighborsDiagonals Method
SetNeighborsMain Method
SetNeighborsMainAndDiagonals Method
Single Method
ToString Method
VerticallyWrappedParallelogram Method
WrappedParallelogram Method
RectGrid
TCell
GetPrincipleNeighborDirections Method
Returns the neighbors so that no two are in the same line. For example, if East is among them, then West won't be.
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
IEnumerable
<
RectPoint
>
GetPrincipleNeighborDirections
()
Return Value
Type:
IEnumerable
RectPoint
Implements
IEvenGrid
TCell, TPoint, TBasePoint
GetPrincipleNeighborDirections
See Also
Reference
RectGrid
TCell
Class
Gamelogic.Grids Namespace