Update README.md
This commit is contained in:
parent
21449ee301
commit
95b34a276f
1 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,13 @@ Called each time the player gives an input and has the opportunity to modify tha
|
|||
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.
|
||||
You can read from the `worldEntries` parameter (same as world info that you can set on the scenario)
|
||||
|
||||
You can modify worldEntries with the below functions
|
||||
* addWorldEntry(keys, entry)
|
||||
* removeWorldEntry(index)
|
||||
* updateWorldEntry(index, keys, entry)
|
||||
|
||||
|
||||
### State
|
||||
The `state` variable can be used to store information that's persistent across function calls.
|
||||
|
|
Reference in a new issue