Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
DialogTree
Class DialogTree
Index
Methods
create
start
current
Id
current
is
Active
visible
Choices
choose
end
set
Predicate
set
Action
dispose
Methods
Static
create
create
(
opts
:
DialogTreeOptions
)
:
DialogTree
Parameters
opts
:
DialogTreeOptions
Returns
DialogTree
start
start
()
:
void
Returns
void
current
Id
currentId
()
:
string
|
null
Returns
string
|
null
current
current
()
:
DialogNode
|
null
Returns
DialogNode
|
null
is
Active
isActive
()
:
boolean
Returns
boolean
visible
Choices
visibleChoices
()
:
DialogChoice
[]
Returns
DialogChoice
[]
choose
choose
(
index
:
number
)
:
boolean
Parameters
index
:
number
Returns
boolean
end
end
()
:
void
Returns
void
set
Predicate
setPredicate
(
name
:
string
,
fn
:
DialogPredicate
)
:
void
Parameters
name
:
string
fn
:
DialogPredicate
Returns
void
set
Action
setAction
(
name
:
string
,
fn
:
DialogAction
)
:
void
Parameters
name
:
string
fn
:
DialogAction
Returns
void
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
start
current
Id
current
is
Active
visible
Choices
choose
end
set
Predicate
set
Action
dispose
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...