]> ruin.nu Git - popboot.git/blobdiff - node.h
initial execution of the plan
[popboot.git] / node.h
diff --git a/node.h b/node.h
index 27a95c49b6db4048f251845ac599eef381dc5a4d..3cd3a9eadd050f0de9fa5ab6cc9563386f6eaf01 100644 (file)
--- a/node.h
+++ b/node.h
@@ -2,12 +2,19 @@
 #define __node_h__
 
 #include <vector>
+#include "action.h"
 
 class Node {
 
+       public:
+               Node(Action action);
+               void addChild(Node* node);
+               Action action();
+               void execute();
+
        protected:
-               Action action;
-               std::vector<Node*> children;
+               Action _action;
+               std::vector<Node*> _children;
 };
 
 #endif