summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/MineEvents.cs
blob: b9c3070c747ef36e2822f252a1f94b688b96f8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;

namespace StardewModdingAPI.Events
{
    public static class MineEvents
    {
        public static event EventHandler<EventArgsMineLevelChanged> MineLevelChanged = delegate { };

        internal static void InvokeMineLevelChanged(int previousMinelevel, int currentMineLevel)
        {
            MineLevelChanged.Invoke(null, new EventArgsMineLevelChanged(previousMinelevel, currentMineLevel));
        }
    }
}