]> ruin.nu Git - popboot.git/blob - node.cpp
4f81069e111eaf55e603c2bfd26b9a312eef216d
[popboot.git] / node.cpp
1 #include "node.h"
2
3 Node::Node(Action action){
4         _action = action;
5 }
6
7 Action Node::action(){
8         return _action;
9 }
10
11
12 void Node::addChild(Node* node){
13         _children.push_back(node);
14 }
15