Methods
getCell(x, y)
Returns the specified cell.
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number
|
X index. |
y |
number
|
Y index. |
getCellIndex(cell)
Returns the x and y index of the given cell.
Parameters:
| Name | Type | Description |
|---|---|---|
cell |