summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-10-31 14:48:23 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-10-31 14:48:23 -0400
commit7fe85119219c17d459fd5a373916dafff7b4e2a2 (patch)
tree85e17035489dbeeb1ea5d44d18b7e868cfb93754 /src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs
parentd9adaf73869ce768686301ef30687a5fc18048a0 (diff)
downloadSMAPI-7fe85119219c17d459fd5a373916dafff7b4e2a2.tar.gz
SMAPI-7fe85119219c17d459fd5a373916dafff7b4e2a2.tar.bz2
SMAPI-7fe85119219c17d459fd5a373916dafff7b4e2a2.zip
document & format event code
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs')
-rw-r--r--src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs26
1 files changed, 20 insertions, 6 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs b/src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs
index f95e0ac2..a02921d2 100644
--- a/src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs
@@ -2,15 +2,29 @@
namespace StardewModdingAPI.Events
{
+ /// <summary>Event arguments for a <see cref="MineEvents.MineLevelChanged"/> event.</summary>
public class EventArgsMineLevelChanged : EventArgs
{
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The previous mine level.</summary>
+ public int PreviousMineLevel { get; private set; }
+
+ /// <summary>The current mine level.</summary>
+ public int CurrentMineLevel { get; private set; }
+
+
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>Construct an instance.</summary>
+ /// <param name="previousMineLevel">The previous mine level.</param>
+ /// <param name="currentMineLevel">The current mine level.</param>
public EventArgsMineLevelChanged(int previousMineLevel, int currentMineLevel)
{
- PreviousMineLevel = previousMineLevel;
- CurrentMineLevel = currentMineLevel;
+ this.PreviousMineLevel = previousMineLevel;
+ this.CurrentMineLevel = currentMineLevel;
}
-
- public int PreviousMineLevel { get; private set; }
- public int CurrentMineLevel { get; private set; }
}
-} \ No newline at end of file
+}