@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof ActionAndLocation))
			return false;
		ActionAndLocation other = (ActionAndLocation) obj;
		if (action == null) {
			if (other.action != null)
				return false;
		} else if (!action.equals(other.action))
			return false;
		if (location != other.location)
			return false;
		return true;
	}