GridExtensions Class |
Namespace: Gamelogic.Grids2
public static class GridExtensions
The GridExtensions type exposes the following members.
Name | Description | |
---|---|---|
ApplyTPoint, TCell(IGridTPoint, TCell, ActionTCell) |
Applies an action for each cell in the grid.
| |
ApplyTPoint, TCell(IGridTPoint, TCell, ActionTPoint) |
Applies an action for each cell in the grid.
| |
CloneTPoint, TCell |
Returns a shallow copy of the given grid.
| |
CloneStructureTPoint, TNewCell(IGridTPoint, FuncTNewCell) |
Creates a grid with a new cell type, and set
the value of each cell to the value return by a
given function.
| |
CloneStructureTPoint, TNewCell(IGridTPoint, FuncTPoint, TNewCell) |
Creates a grid with a new cell type, and set
the value of each cell to the value return by a
given function.
| |
CloneStructureTPoint, TNewCell(IGridTPoint, TNewCell) |
Creates a grid with a new cell type, and set
the value of each cell to the given initial value.
| |
FillTPoint, TCell(IGridTPoint, TCell, FuncTCell) |
Sets each cell in the grid to the value returned by a
given function.
| |
FillTPoint, TCell(IGridTPoint, TCell, FuncTPoint, TCell) |
Sets each cell in the grid to the value returned by a
given function.
| |
FillTPoint, TCell(IGridTPoint, TCell, TCell) |
Sets each cell in the grid to the given value.
| |
GetPointsTPoint | ||
GetValueTPoint, TCell |
Gets the value at the specified point.
| |
InTPoint |
Selects all the points in the list also in the given shape.
| |
SetValueTPoint, TCell |
Sets the value of a grid at a specified point.
| |
ToGridTCell(IExplicitShapeGridPoint2) |
Creates a new grid in the given shape.
| |
ToGridTCell(IExplicitShapeGridPoint3) |
Creates a new grid in the given shape.
| |
ToGridTCell(IExplicitShapeInt32) |
Creates a new grid in the given shape.
| |
TransformTPoint, TCell(IGridTPoint, TCell, FuncTCell, TCell) |
Transforms the contents of a grid using a given transform.
| |
TransformTPoint, TCell(IGridTPoint, TCell, FuncTPoint, TCell, TCell) |
Transforms the contents of a grid using a given transform.
|