PointyTriGridTCell Class |
Namespace: Gamelogic.Grids
[SerializableAttribute] [VersionAttribute(1, 0, 0)] public class PointyTriGrid<TCell> : AbstractSplicedGrid<TCell, PointyTriPoint, FlatHexPoint>, ISupportsVertexGrid<FlatHexPoint>, ISupportsEdgeGrid<FlatRhombPoint>
The PointyTriGridTCell type exposes the following members.
| Name | Description | |
|---|---|---|
| PointyTriGridTCell(Int32, Int32) |
Construct a new grid in the default shape with the given width and height.
No transformations are applied to the grid.
Normally, the static factory methods or shape building methods should be used to create grids.
These constructors are provided for advanced usage.
| |
| PointyTriGridTCell(Int32, Int32, FuncPointyTriPoint, Boolean) |
Construct a new grid whose cells are determined by the given test function.
The test function should only return true for points within the bounds of the default shape.
No transformations are applied to the grid.
Normally, the static factory methods or shape building methods should be used to create grids.
These constructors are provided for advanced usage.
| |
| PointyTriGridTCell(Int32, Int32, FuncPointyTriPoint, Boolean, FlatHexPoint) | ||
| PointyTriGridTCell(Int32, Int32, FuncPointyTriPoint, Boolean, PointyTriPoint) |
Construct a new grid whose cells are determined by the given test function.
The function should only return true for points within the bounds of the rectangle when
the given transforms are applied to them.
Normally, the static factory methods or shape building methods should be used to create grids.
These constructors are provided for advanced usage.
| |
| PointyTriGridTCell(Int32, Int32, FuncPointyTriPoint, Boolean, FuncPointyTriPoint, PointyTriPoint, FuncPointyTriPoint, PointyTriPoint) | ||
| PointyTriGridTCell(Int32, Int32, FuncPointyTriPoint, Boolean, FuncPointyTriPoint, PointyTriPoint, FuncPointyTriPoint, PointyTriPoint, IEnumerablePointyTriPoint) |
| Name | Description | |
|---|---|---|
| GridOrigin | (Overrides AbstractSplicedGridTCell, TPoint, TBasePointGridOrigin.) | |
| InversePointTransform | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| Item | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| NeighborDirections | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| PointTransform | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| Values | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) |
| Name | Description | |
|---|---|---|
| contains | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| height | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| neighborDirections | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| width | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) |
| Name | Description | |
|---|---|---|
| ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IEnumerableGetEnumerator | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| IGridTPointItem | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) | |
| IGridTPointValues | (Inherited from AbstractSplicedGridTCell, TPoint, TBasePoint.) |