diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-05 21:59:57 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-05 21:59:57 -0400 |
commit | 63fb4dbe8ae4d611c4854f863b9b29265e02fdee (patch) | |
tree | ceebeaa5739b04112f6efdc8fceabd17f8b6797c /src/SMAPI/Events/WorldObjectListChangedEventArgs.cs | |
parent | 0530824cc2c573cae0a80f7def2b46bf8aeb9af9 (diff) | |
download | SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.gz SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.bz2 SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.zip |
tweak new event naming convention (#310)
Diffstat (limited to 'src/SMAPI/Events/WorldObjectListChangedEventArgs.cs')
-rw-r--r-- | src/SMAPI/Events/WorldObjectListChangedEventArgs.cs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/SMAPI/Events/WorldObjectListChangedEventArgs.cs b/src/SMAPI/Events/WorldObjectListChangedEventArgs.cs deleted file mode 100644 index 5623a49b..00000000 --- a/src/SMAPI/Events/WorldObjectListChangedEventArgs.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.Xna.Framework; -using StardewValley; -using Object = StardewValley.Object; - -namespace StardewModdingAPI.Events -{ - /// <summary>Event arguments for a <see cref="IWorldEvents.ObjectListChanged"/> event.</summary> - public class WorldObjectListChangedEventArgs : EventArgs - { - /********* - ** Accessors - *********/ - /// <summary>The location which changed.</summary> - public GameLocation Location { get; } - - /// <summary>The objects added to the location.</summary> - public IEnumerable<KeyValuePair<Vector2, Object>> Added { get; } - - /// <summary>The objects removed from the location.</summary> - public IEnumerable<KeyValuePair<Vector2, Object>> Removed { get; } - - - /********* - ** Public methods - *********/ - /// <summary>Construct an instance.</summary> - /// <param name="location">The location which changed.</param> - /// <param name="added">The objects added to the location.</param> - /// <param name="removed">The objects removed from the location.</param> - public WorldObjectListChangedEventArgs(GameLocation location, IEnumerable<KeyValuePair<Vector2, Object>> added, IEnumerable<KeyValuePair<Vector2, Object>> removed) - { - this.Location = location; - this.Added = added.ToArray(); - this.Removed = removed.ToArray(); - } - } -} |