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