bool MapObject::operator==(const MapObject &other) const { return (coords() == other.coords() && name() == other.name() && type() == other.type() && description() == other.description() && localizationType() == other.localizationType() && localizationMode() == other.localizationMode() && compare(other)); }