summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/Mine.cs
blob: 2f89c91d3e3ee531c889afe08f4ee4ab496163ac (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 { };

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