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