yolkbot
learn
community
Preparing search index...
NodeList
Class NodeList
A list of all the nodes (blocks) on a map, used for pathfinding
Index
Constructors
constructor
Methods
at
clean
has
Line
Of
Sight
Properties
list
node
Map
Constructors
constructor
new
NodeList
(
raw
:
MapJSON
)
:
NodeList
Parameters
raw
:
MapJSON
Returns
NodeList
Methods
at
at
(
x
:
number
,
y
:
number
,
z
:
number
)
:
MapNode
|
undefined
Parameters
x
:
number
y
:
number
z
:
number
Returns
MapNode
|
undefined
clean
clean
()
:
void
Returns
void
has
Line
Of
Sight
hasLineOfSight
(
a
:
Position
,
b
:
Position
)
:
boolean
Parameters
a
:
Position
b
:
Position
Returns
boolean
Properties
list
list
:
MapNode
[]
= []
node
Map
nodeMap
:
Map
<
number
,
MapNode
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
at
clean
has
Line
Of
Sight
Properties
list
node
Map
learn
community
yolkbot
Loading...
A list of all the nodes (blocks) on a map, used for pathfinding