Preparing search index...
The search index is not available
GDevelop JavaScript game engine
GDevelop JavaScript game engine
gdjs
PathfindingRuntimeBehavior
Node
Class Node
Internal tool class representing a node when looking for a path
Index
Constructors
constructor
Properties
cost
estimate
Cost
open
parent
pos
smallest
Cost
Methods
reinitialize
Constructors
constructor
new
Node
(
xPos
,
yPos
)
:
Node
Parameters
xPos
:
number
yPos
:
number
Returns
Node
Properties
cost
cost
:
number
= 0
estimate
Cost
estimate
Cost
:
number
= -1
open
open
:
boolean
= true
parent
parent
:
null
|
Node
= null
pos
pos
:
FloatPoint
smallest
Cost
smallest
Cost
:
number
= -1
Methods
reinitialize
reinitialize
(
xPos
,
yPos
)
:
void
Parameters
xPos
:
number
yPos
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
cost
estimate
Cost
open
parent
pos
smallest
Cost
reinitialize
GDevelop JavaScript game engine
Loading...
Internal tool class representing a node when looking for a path