Table of Contents

Interface IEvenGrid<TCell, TPoint, TBasePoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

A grid where cells have an even number of neighbors. In an even grid each neighbor has an opposite neighbor.

[Version(1, 0, 0)]
public interface IEvenGrid<TCell, TPoint, TBasePoint> : IVectorGrid<TCell, TPoint, TBasePoint>, IGrid<TCell, TPoint>, IGrid<TPoint>, IGridSpace<TPoint>, IEnumerable<TPoint>, IEnumerable where TPoint : ISplicedVectorPoint<TPoint, TBasePoint>, IGridPoint<TPoint> where TBasePoint : IVectorPoint<TBasePoint>, IGridPoint<TBasePoint>

Type Parameters

TCell
TPoint
TBasePoint
Inherited Members
Extension Methods

Methods

GetPrincipleNeighborDirections()

This is the set of neighbor directions so that it contains only one of the neighbor directions of a pair of opposites.

IEnumerable<TPoint> GetPrincipleNeighborDirections()

Returns

IEnumerable<TPoint>