X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=node.h;h=0d9cae6fa0229ce432dfb21497452adfa2075e16;hb=09f6dfa65b66103c27dc831271d961de9ab0109e;hp=31568fc5a6b910ec44a91b7f71c97e0a2d4ab366;hpb=b177aeec472c3941b39b874a83883ff87a41919c;p=popboot.git diff --git a/node.h b/node.h index 31568fc..0d9cae6 100644 --- a/node.h +++ b/node.h @@ -10,10 +10,12 @@ class Node { Node(Action action); void addChild(Node* node); Action action(); + void execute(literals effects); protected: Action _action; std::vector _children; + literals _preconditions; }; #endif