From 3523a86c15a6195e04d7c0e2374b84cf90bc1f99 Mon Sep 17 00:00:00 2001 From: Bastian Blokland Date: Mon, 22 Apr 2019 21:01:44 +0300 Subject: [PATCH] Regenerated example scheme --- example/Example.csproj | 2 +- example/brain.treescheme.json | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/example/Example.csproj b/example/Example.csproj index 3b2fa21..a74540a 100644 --- a/example/Example.csproj +++ b/example/Example.csproj @@ -24,7 +24,7 @@ - + diff --git a/example/brain.treescheme.json b/example/brain.treescheme.json index c6f1a2f..a2a3cb7 100644 --- a/example/brain.treescheme.json +++ b/example/brain.treescheme.json @@ -32,6 +32,7 @@ "nodes": [ { "nodeType": "Example.Ai.Inverter", + "comment": "Invert the result of the child.\n", "fields": [ { "name": "child", @@ -41,10 +42,12 @@ }, { "nodeType": "Example.Ai.MatchAnyNumber", + "comment": "Returns successfull if the user typed any number.\n", "fields": [] }, { "nodeType": "Example.Ai.MatchNumber", + "comment": "Returns successful if the user typed a specific number.\n", "fields": [ { "name": "number", @@ -54,6 +57,7 @@ }, { "nodeType": "Example.Ai.MatchString", + "comment": "Returns successful if the user typed a specific string.\n", "fields": [ { "name": "text", @@ -67,6 +71,7 @@ }, { "nodeType": "Example.Ai.Say", + "comment": "Print given text to the console.\nWill wait for given time before continuing.\n", "fields": [ { "name": "text", @@ -80,6 +85,7 @@ }, { "nodeType": "Example.Ai.Selector", + "comment": "Executes child nodes, will stop at the first child that returns successful.\n", "fields": [ { "name": "children", @@ -90,6 +96,7 @@ }, { "nodeType": "Example.Ai.Sequence", + "comment": "Executes child nodes, will stop at the first child that returns failure.\n", "fields": [ { "name": "children", @@ -99,4 +106,4 @@ ] } ] -} \ No newline at end of file +}