mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
AI
AIDecisionContext
Interface AIDecisionContext
interface
AIDecisionContext
{
checkpoint
:
()
=>
void
;
perception
:
AIValue
;
random
:
()
=>
number
;
state
:
AI
.
AIState
;
emit
(
name
:
string
,
payload
?:
AIValue
)
:
void
;
}
Index
Properties
checkpoint
perception
random
state
Methods
emit
Properties
Readonly
checkpoint
checkpoint
:
()
=>
void
Readonly
perception
perception
:
AIValue
Readonly
random
random
:
()
=>
number
Readonly
state
state
:
AI
.
AIState
Methods
emit
emit
(
name
:
string
,
payload
?:
AIValue
)
:
void
Parameters
name
:
string
Optional
payload
:
AIValue
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
checkpoint
perception
random
state
Methods
emit
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...