summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/Mine.cs
blob: 55514d428cbbdbdb62f2c880d8da3b760f0cd022 (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));
        }
    }
}