blob: 527d25e119a78403c8a5ecd282de7b3201141864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "action.h"
#include <algorithm>
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;
}
|