#include "action.h" #include bool Action::operator==(const Action& other) { return type == other.type && target == other.target; } bool Actions::contains(Action action) { return std::find(begin(), end(), action) != end(); }