Interface: HexStore<T>
Type parameters
Name | Type |
---|---|
T | extends Hex |
Hierarchy
HexStore
Table of contents
Properties
Methods
Properties
size
Readonly
size: number
Defined in
Methods
getHex
getHex(coordinates
): undefined
| T
Parameters
Name | Type |
---|---|
coordinates | HexCoordinates |
Returns
undefined
| T
Defined in
hasHex
hasHex(hex
): boolean
Parameters
Name | Type |
---|---|
hex | T |
Returns
boolean
Defined in
setHexes
setHexes(hexesOrCoordinates
): HexStore
<T
>
Parameters
Name | Type |
---|---|
hexesOrCoordinates | Iterable <HexCoordinates | T > |
Returns
HexStore
<T
>