]> ruin.nu Git - popboot.git/blobdiff - node.h
some changes
[popboot.git] / node.h
diff --git a/node.h b/node.h
index 27a95c49b6db4048f251845ac599eef381dc5a4d..db9fb09663fbcff9fa99d797269a84ff1286e630 100644 (file)
--- a/node.h
+++ b/node.h
@@ -2,12 +2,17 @@
 #define __node_h__
 
 #include <vector>
+#include "action.h"
 
 class Node {
 
+       Node(Action action, std::vector<Node&> children);
+
+       addChild(Node& node);
+
        protected:
-               Action action;
-               std::vector<Node*> children;
+               Action _action;
+               std::vector<Node&> _children;
 };
 
 #endif