]> ruin.nu Git - popboot.git/blobdiff - node.cpp
seems to work
[popboot.git] / node.cpp
index b6347a4d78cb016bf71b60660dd61a27475678e8..4f81069e111eaf55e603c2bfd26b9a312eef216d 100644 (file)
--- a/node.cpp
+++ b/node.cpp
@@ -1 +1,15 @@
 #include "node.h"
+
+Node::Node(Action action){
+       _action = action;
+}
+
+Action Node::action(){
+       return _action;
+}
+
+
+void Node::addChild(Node* node){
+       _children.push_back(node);
+}
+