From a0a9a2a3fab402a71631b54d64a46bdaffd28d57 Mon Sep 17 00:00:00 2001 From: Markus Hjort Date: Sun, 3 Dec 2017 19:40:08 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3b824e4..b329faa 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,14 @@ A selector visits child nodes in sequence until it finds one that succeeds. For new SelectorNode(choice1, choice2, choice3); ``` +#### Inverter + +A invertor inverts the result of the node. If the node beeing inverted returns ```running``` inverter returns ```running``` too. + +``` +new InverterNode(node); +``` + ### Leaf Nodes #### ActionNode