summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.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/EventArgsLocationObjectsChanged.cs
parentd9adaf73869ce768686301ef30687a5fc18048a0 (diff)
downloadSMAPI-7fe85119219c17d459fd5a373916dafff7b4e2a2.tar.gz
SMAPI-7fe85119219c17d459fd5a373916dafff7b4e2a2.tar.bz2
SMAPI-7fe85119219c17d459fd5a373916dafff7b4e2a2.zip
document & format event code
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs')
-rw-r--r--src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs b/src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs
index 70309192..f708ab6b 100644
--- a/src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs
@@ -5,13 +5,24 @@ using Object = StardewValley.Object;
namespace StardewModdingAPI.Events
{
+ /// <summary>Event arguments for a <see cref="LocationEvents.LocationObjectsChanged"/> event.</summary>
public class EventArgsLocationObjectsChanged : EventArgs
{
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The current list of objects in the current location.</summary>
+ public SerializableDictionary<Vector2, Object> NewObjects { get; private set; }
+
+
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>Construct an instance.</summary>
+ /// <param name="newObjects">The current list of objects in the current location.</param>
public EventArgsLocationObjectsChanged(SerializableDictionary<Vector2, Object> newObjects)
{
- NewObjects = newObjects;
+ this.NewObjects = newObjects;
}
-
- public SerializableDictionary<Vector2, Object> NewObjects { get; private set; }
}
-} \ No newline at end of file
+}