public void updateCheckins(OwnedEgg egg) { Dictionary <string, HatchLocationMarker> idHlmDict = new Dictionary <string, HatchLocationMarker>(); foreach (HatchLocationMarker marker in MarkersToTake) { idHlmDict[marker.Id] = marker; } foreach (HatchLocationMarker marker in egg.MarkersToTake) { if (!marker.needToBeVisited()) { idHlmDict[marker.Id].markVisited(); } } Dictionary <GenericLocation.GooglePlacesType, GenericLocation> typeGlDict = new Dictionary <GenericLocation.GooglePlacesType, GenericLocation>(); foreach (GenericLocation location in GenericLocationsToTake) { typeGlDict[location.LocationType] = location; } foreach (GenericLocation location in egg.GenericLocationsToTake) { typeGlDict[location.LocationType].updateVisits(location); } foreach (string friendUserId in egg._kaiju.Helpers) { _kaiju.addHelper(friendUserId); } foreach (CheckInPlace place in PlacesToTake) { if (place.needToBeVisited()) { return; } } _hatchable = true; }