X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=node.h;h=55e34e6d4675fc644e7a8070abfe929efc0a0844;hp=27a95c49b6db4048f251845ac599eef381dc5a4d;hb=dc49c0c521090f0eb4b9692b25a129537c07e19e;hpb=50f9b29fed8c97deac825a31c35bb7759abca04f diff --git a/node.h b/node.h index 27a95c4..55e34e6 100644 --- a/node.h +++ b/node.h @@ -2,12 +2,17 @@ #define __node_h__ #include +#include "action.h" class Node { + public: + Node(Action action); + void addChild(Node* node); + protected: - Action action; - std::vector children; + Action _action; + std::vector _children; }; #endif