X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=node.cpp;h=4f81069e111eaf55e603c2bfd26b9a312eef216d;hp=11fed08507b52bfe5953a1558aed3c3e2be6818a;hb=b177aeec472c3941b39b874a83883ff87a41919c;hpb=dc49c0c521090f0eb4b9692b25a129537c07e19e diff --git a/node.cpp b/node.cpp index 11fed08..4f81069 100644 --- 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); +} +