Struct BoardSize
Representation of the AbstractBoard dimensions, and number of cell and special types.
Inherited Members
Namespace: Unity.MLAgents.Integrations.Match3
Assembly: solution.dll
Syntax
public struct BoardSize
Fields
| Name | Description |
|---|---|
| Columns | Number of columns on the board |
| NumCellTypes | Maximum number of different types of cells (colors, pieces, etc). |
| NumSpecialTypes | Maximum number of special types. This can be zero, in which case all cells of the same type are assumed to be equivalent. |
| Rows | Number of rows on the board |
Methods
| Name | Description |
|---|---|
| ToString() | Return a string representation of the BoardSize. |
Operators
| Name | Description |
|---|---|
| operator >=(BoardSize, BoardSize) | Check that all fields of the left-hand BoardSize are greater than or equal to the field of the right-hand BoardSize |
| operator <=(BoardSize, BoardSize) | Check that all fields of the left-hand BoardSize are less than or equal to the field of the right-hand BoardSize |