summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/MineEvents.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Events/MineEvents.cs')
-rw-r--r--src/StardewModdingAPI/Events/MineEvents.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Events/MineEvents.cs b/src/StardewModdingAPI/Events/MineEvents.cs
new file mode 100644
index 00000000..b9c3070c
--- /dev/null
+++ b/src/StardewModdingAPI/Events/MineEvents.cs
@@ -0,0 +1,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));
+ }
+ }
+} \ No newline at end of file