6 #include "ActionTemplate.hh"
19 bool IsLegal(
const WorldState& worldState)
const;
20 double GetCost(
const WorldState& worldState)
const;
21 const std::vector<unsigned int>& GetArgumentIndices()
const;
22 void ApplyToState(
WorldState& worldState)
const;
23 const std::string& GetName()
const;
29 std::vector<unsigned int> argumentIndices{};
30 static thread_local std::vector<WorldObject*> effectFunctionArguments;
31 static thread_local std::vector<const WorldObject*> preconditionFunctionArguments;
36 #endif //GRAIL_ACTION_H