summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-11 19:10:27 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-11 19:10:27 -0400
commit6db91f832998ab07e7a937c25b32f1151a0274bc (patch)
treef510083de84a1f9249bd67a6872ed44b199587c6 /src/SMAPI/Events
parentb8f17e6afb00b78ac31df98f7dc3bbe071a99e47 (diff)
downloadSMAPI-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.cs2
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; }