summaryrefslogtreecommitdiff
path: root/common/action.cpp
blob: 77988d6345a5b277a5c3d6d1e41d493cf2ca89e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "action.h"
#include <algorithm>

Action::Action() {
	
}

Action::Action(Type ty, int ta) : type(ty), target(ta) {
	
}

bool Action::operator==(const Action& other) {
	return type == other.type && target == other.target;
}