Example #1
0
        internal void ClearCropMapForHut(JunimoHut hut)
        {
            var pos = new Vector2(hut.tileX.Value, hut.tileY.Value);

            if (HutCropMap.ContainsKey(pos))
            {
                HutCropMap.Remove(pos);
            }
        }
Example #2
0
        internal CropMap GetCropMapForHut(JunimoHut hut)
        {
            var pos = new Vector2(hut.tileX.Value, hut.tileY.Value);

            return(HutCropMap.TryGetValue(pos, out CropMap map) ? map : null);
        }