Table of Contents

Interface IGridSpace<TPoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

A grid space is an object that can determine whether a point is inside it our not. Unlike grids, it does not contain data, and therefore there is no data at points.

[Version(1, 0, 0)]
public interface IGridSpace<TPoint> : IEnumerable<TPoint>, IEnumerable where TPoint : IGridPoint<TPoint>

Type Parameters

TPoint
Inherited Members
Extension Methods

Methods

Contains(TPoint)

Returns whether a point is inside the grid.

bool Contains(TPoint point)

Parameters

point TPoint

Returns

bool

Remarks

Use this method to control the shape of the grid.