]> ruin.nu Git - popboot.git/blob - node.h
31568fc5a6b910ec44a91b7f71c97e0a2d4ab366
[popboot.git] / node.h
1 #ifndef __node_h__
2 #define __node_h__
3
4 #include <vector>
5 #include "action.h"
6
7 class Node {
8
9         public:
10                 Node(Action action);
11                 void addChild(Node* node);
12                 Action action();
13
14         protected:
15                 Action _action;
16                 std::vector<Node*> _children;
17 };
18
19 #endif