Update README.md
This commit is contained in:
parent
935ec5acf1
commit
21449ee301
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ Called each time the player gives an input and has the opportunity to modify tha
|
||||||
### Output Modifier
|
### Output Modifier
|
||||||
Called each time the model generates an output and has the opportunity to modify that output.
|
Called each time the model generates an output and has the opportunity to modify that output.
|
||||||
|
|
||||||
|
### World Entries
|
||||||
|
You can modify and read from the `worldEntries` parameter (same as world info that you can set on the scenario) allowing you to dynamically change it based on what's happening.
|
||||||
|
|
||||||
### State
|
### State
|
||||||
The `state` variable can be used to store information that's persistent across function calls.
|
The `state` variable can be used to store information that's persistent across function calls.
|
||||||
* The `state.memory.context` value will be added to the games memory if exists
|
* The `state.memory.context` value will be added to the games memory if exists
|
||||||
|
|
Reference in a new issue