From d7099116bf6615950b75400e961e45167bc867aa Mon Sep 17 00:00:00 2001 From: Patrick Stephen Date: Sun, 16 Jul 2017 19:10:26 -0500 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12d0618e..5b5a056b 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,12 @@ On linux, for audio, see [klangsynthese](https://github.com/200sc/klangsynthese) This is an example of the most basic oak program: ``` oak.AddScene("firstScene", - func(prevScene string, inData interface{}) {}, // Initialization function - func()bool{return true}, // Loop to continue or stop current scene - func()(nextScene string, result *oak.SceneResult){return "firstScene", nil}) // Exit to transition to next scene + // Initialization function + func(prevScene string, inData interface{}) {}, + // Loop to continue or stop current scene + func()bool{return true}, + // Exit to transition to next scene + func()(nextScene string, result *oak.SceneResult){return "firstScene", nil}) oak.Init("firstScene") ``` See the [examples](examples) folder for longer demos.