#include "action.h" #include Action::Action() : target_type(None), target_offset(0) { } Action::Action(Type ty, TargetType tt, int to) : type(ty), target_type(tt), target_offset(to) { } bool Action::operator==(const Action& other) { return type == other.type && target_type == other.target_type && target_offset == other.target_offset; }