Table of Contents

Class Shape<TPoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Class that represents a grid shape.

public class Shape<TPoint> : IShape<TPoint>, IEnumerable<TPoint>, IEnumerable where TPoint : IGridPoint<TPoint>

Type Parameters

TPoint

The type of the point.

Inheritance
Shape<TPoint>
Implements
IShape<TPoint>
IEnumerable<TPoint>
Inherited Members
Extension Methods

Methods

Contains(TPoint)

public bool Contains(TPoint point)

Parameters

point TPoint

Returns

bool

GetEnumerator()

public IEnumerator<TPoint> GetEnumerator()

Returns

IEnumerator<TPoint>

See Also

IShape<TPoint>