clik-engine API
GitHub
Preparing search index...
DialogueManager
Class DialogueManager
Index
Constructors
constructor
Methods
advance
close
destroy
get
Current
Node
Id
is
Active
load
start
Constructors
constructor
new
DialogueManager
(
scene
:
Scene
,
config
:
DialogueDisplayConfig
,
)
:
DialogueManager
Parameters
scene
:
Scene
config
:
DialogueDisplayConfig
Returns
DialogueManager
Methods
advance
advance
()
:
void
Skip typewriter animation or advance to next node
Returns
void
close
close
()
:
void
Returns
void
destroy
destroy
()
:
void
Clean up all dialogue resources
Returns
void
get
Current
Node
Id
getCurrentNodeId
()
:
string
|
null
Returns
string
|
null
is
Active
isActive
()
:
boolean
Returns
boolean
load
load
(
tree
:
DialogueTree
)
:
this
Parameters
tree
:
DialogueTree
Returns
this
start
start
(
nodeId
:
string
,
onComplete
?:
()
=>
void
)
:
void
Parameters
nodeId
:
string
Optional
onComplete
:
()
=>
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
advance
close
destroy
get
Current
Node
Id
is
Active
load
start
GitHub
clik-engine API
Loading...
Skip typewriter animation or advance to next node