Table of Contents

Interface IEdge<TPoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

A point type implements this interface if that point type can be the edge grid of TPoint.

For example, FlatRhombPoints are the points of the edge grid for FlatHexPoints, and hence FlatRombPoint implements "IEdge<FlatHexPoint>." (This class replaces IEdgeAnchor).

[Version(1, 1, 0)]
public interface IEdge<TPoint>

Type Parameters

TPoint
Extension Methods

Methods

GetEdgeFaces()

Get the coordinates of the faces that corresponds to this point treated as an edge.

IEnumerable<TPoint> GetEdgeFaces()

Returns

IEnumerable<TPoint>