Update README.md

This commit is contained in:
Nick Walton 2020-06-02 07:26:18 -06:00 committed by GitHub
parent 935ec5acf1
commit 21449ee301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,9 @@ Called each time the player gives an input and has the opportunity to modify tha
### Output Modifier
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
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