Method GetCellType
GetCellType(int, int)
Returns the "color" of the piece at the given row and column. This should be between 0 and BoardSize.NumCellTypes-1 (inclusive). The actual order of the values doesn't matter.
Declaration
public abstract int GetCellType(int row, int col)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | |
| int | col |
Returns
| Type | Description |
|---|---|
| int |