From 95b34a276f3c3a346371debe75d67a2463cd2f9c Mon Sep 17 00:00:00 2001 From: Nick Walton Date: Tue, 2 Jun 2020 13:51:31 -0600 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe855eb..1c22a75 100644 --- a/README.md +++ b/README.md @@ -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.