mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
Roguelike
neighbourOffsets
Function neighbourOffsets
neighbourOffsets
(
topology
:
4
|
8
)
:
readonly
(
readonly
[
number
,
number
]
)
[]
the four or eight cell offsets around a point, shared by every square-grid algorithm here
Parameters
topology
:
4
|
8
Returns
readonly
(
readonly
[
number
,
number
]
)
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...
the four or eight cell offsets around a point, shared by every square-grid algorithm here