X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=node.h;h=db9fb09663fbcff9fa99d797269a84ff1286e630;hp=27a95c49b6db4048f251845ac599eef381dc5a4d;hb=066d3c3659f52a73a0344c3e08989cc73a15164b;hpb=eb5481635b31a8517a2f443ca7b414e4ff515028 diff --git a/node.h b/node.h index 27a95c4..db9fb09 100644 --- a/node.h +++ b/node.h @@ -2,12 +2,17 @@ #define __node_h__ #include +#include "action.h" class Node { + Node(Action action, std::vector children); + + addChild(Node& node); + protected: - Action action; - std::vector children; + Action _action; + std::vector _children; }; #endif