]> ruin.nu Git - popboot.git/blobdiff - node.cpp
compiles again
[popboot.git] / node.cpp
index 11fed08507b52bfe5953a1558aed3c3e2be6818a..4f81069e111eaf55e603c2bfd26b9a312eef216d 100644 (file)
--- a/node.cpp
+++ b/node.cpp
@@ -3,3 +3,13 @@
 Node::Node(Action action){
        _action = action;
 }
+
+Action Node::action(){
+       return _action;
+}
+
+
+void Node::addChild(Node* node){
+       _children.push_back(node);
+}
+