Class BlockGrid<TCell>
public class BlockGrid<TCell> : LayeredGrid<TCell, RectPoint>, IGrid<TCell, LayeredPoint<RectPoint>>, IGrid<LayeredPoint<RectPoint>>, IGridSpace<LayeredPoint<RectPoint>>, IEnumerable<LayeredPoint<RectPoint>>, IEnumerable
Type Parameters
TCell
- Inheritance
-
LayeredGrid<TCell, RectPoint>BlockGrid<TCell>
- Implements
- Inherited Members
- Extension Methods
Constructors
BlockGrid(int, int, int)
public BlockGrid(int width, int length, int height)
Parameters
Methods
GetAllNeighbors(LayeredPoint<RectPoint>)
This method is not implemented. If you need a layered grid with neighbors configured (for example, if you want to use path finding or connected shapes), you need to make your own layered grid by extending from this one, and implement this method.
public override IEnumerable<LayeredPoint<RectPoint>> GetAllNeighbors(LayeredPoint<RectPoint> point)
Parameters
point
LayeredPoint<RectPoint>