new Cell(x, y)
- Source:
Parameters:
Name |
Type |
Description |
x |
number
|
|
y |
number
|
|
Members
(readonly) x :number
- Source:
Type:
(readonly) y :number
- Source:
Type:
(readonly) neighbors :Array.<Neighbor>
- Source:
Type:
(readonly) row :Row
- Source:
Type:
(readonly) data :*
- Source:
Type:
Methods
- Source:
Parameters:
Name |
Type |
Description |
cell |
Cell
|
|
Returns:
-
Type
-
RelativePosition
getAxisCells(axis, pathopt, axisCellsopt) → {Array.<Cell>}
- Source:
Example
getAxisCells(RelativePosition.AXIS.VERTICAL)
Parameters:
Name |
Type |
Attributes |
Default |
Description |
axis |
Axis
|
|
|
|
path |
string
|
<optional>
|
|
|
axisCells |
string
|
<optional>
|
[]
|
|
Returns:
-
Type
-
Array.<Cell>
getNeighborByCell(cell) → {Neighbor}
- Source:
Parameters:
Name |
Type |
Description |
cell |
Cell
|
|
Returns:
-
Type
-
Neighbor