X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=node.h;h=55e34e6d4675fc644e7a8070abfe929efc0a0844;hp=db9fb09663fbcff9fa99d797269a84ff1286e630;hb=dc49c0c521090f0eb4b9692b25a129537c07e19e;hpb=066d3c3659f52a73a0344c3e08989cc73a15164b diff --git a/node.h b/node.h index db9fb09..55e34e6 100644 --- a/node.h +++ b/node.h @@ -6,13 +6,13 @@ class Node { - Node(Action action, std::vector children); - - addChild(Node& node); + public: + Node(Action action); + void addChild(Node* node); protected: Action _action; - std::vector _children; + std::vector _children; }; #endif