diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-11 19:10:27 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-11 19:10:27 -0400 |
commit | 6db91f832998ab07e7a937c25b32f1151a0274bc (patch) | |
tree | f510083de84a1f9249bd67a6872ed44b199587c6 /src/SMAPI/Events | |
parent | b8f17e6afb00b78ac31df98f7dc3bbe071a99e47 (diff) | |
download | SMAPI-6db91f832998ab07e7a937c25b32f1151a0274bc.tar.gz SMAPI-6db91f832998ab07e7a937c25b32f1151a0274bc.tar.bz2 SMAPI-6db91f832998ab07e7a937c25b32f1151a0274bc.zip |
drop support for some deprecated APIs in the Stardew Valley 1.3 branch (#453)
Diffstat (limited to 'src/SMAPI/Events')
-rw-r--r-- | src/SMAPI/Events/EventArgsInput.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Events/EventArgsInput.cs b/src/SMAPI/Events/EventArgsInput.cs index a5325b76..75b9b8cd 100644 --- a/src/SMAPI/Events/EventArgsInput.cs +++ b/src/SMAPI/Events/EventArgsInput.cs @@ -18,9 +18,11 @@ namespace StardewModdingAPI.Events /// <summary>The current cursor position.</summary> public ICursorPosition Cursor { get; } +#if !STARDEW_VALLEY_1_3 /// <summary>Whether the input is considered a 'click' by the game for enabling action.</summary> [Obsolete("Use " + nameof(EventArgsInput.IsActionButton) + " or " + nameof(EventArgsInput.IsUseToolButton) + " instead")] // deprecated in SMAPI 2.1 public bool IsClick => this.IsActionButton; +#endif /// <summary>Whether the input should trigger actions on the affected tile.</summary> public bool IsActionButton { get; } |