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