X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=node.h;h=77a9d7bbefce9d7265d870e2f80c9b5fb400dfc7;hb=52feef3369ad80d5b7207620f37ae341ccd11b95;hp=28a828728e9109a73181baf6fde79d98198ed908;hpb=716fc4e282ce52fe953867171c046acd3b614d3b;p=popboot.git diff --git a/node.h b/node.h index 28a8287..77a9d7b 100644 --- a/node.h +++ b/node.h @@ -14,9 +14,10 @@ class Node { virtual ~Node(){} void addChild(Node* node); const Action& action() const; - void execute(bool strict, const Literals& effects); + void execute(const Literals& effects); bool executed() const; const Literals& effects() const; + void satisfyCondition(std::string effect); protected: Action _action;