internal void ClearCropMapForHut(JunimoHut hut) { var pos = new Vector2(hut.tileX.Value, hut.tileY.Value); if (HutCropMap.ContainsKey(pos)) { HutCropMap.Remove(pos); } }
internal CropMap GetCropMapForHut(JunimoHut hut) { var pos = new Vector2(hut.tileX.Value, hut.tileY.Value); return(HutCropMap.TryGetValue(pos, out CropMap map) ? map : null); }