using System;
namespace StardewModdingAPI.Events
{
/// Events raised when something happens in the mines.
public static class MineEvents
{
/*********
** Events
*********/
/// Raised after the player warps to a new level of the mine.
public static event EventHandler MineLevelChanged = delegate { };
/*********
** Internal methods
*********/
/// Raise a event.
/// The previous mine level.
/// The current mine level.
internal static void InvokeMineLevelChanged(int previousMineLevel, int currentMineLevel)
{
MineEvents.MineLevelChanged.Invoke(null, new EventArgsMineLevelChanged(previousMineLevel, currentMineLevel));
}
}
}