X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=node.h;h=3cd3a9eadd050f0de9fa5ab6cc9563386f6eaf01;hp=55e34e6d4675fc644e7a8070abfe929efc0a0844;hb=498b277372ebab0008b97399d387285b36d88826;hpb=dc49c0c521090f0eb4b9692b25a129537c07e19e diff --git a/node.h b/node.h index 55e34e6..3cd3a9e 100644 --- a/node.h +++ b/node.h @@ -9,6 +9,8 @@ class Node { public: Node(Action action); void addChild(Node* node); + Action action(); + void execute(); protected: Action _action;