From 6db91f832998ab07e7a937c25b32f1151a0274bc Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 11 Mar 2018 19:10:27 -0400 Subject: drop support for some deprecated APIs in the Stardew Valley 1.3 branch (#453) --- src/SMAPI/Events/EventArgsInput.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/SMAPI/Events') 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 /// The current cursor position. public ICursorPosition Cursor { get; } +#if !STARDEW_VALLEY_1_3 /// Whether the input is considered a 'click' by the game for enabling action. [Obsolete("Use " + nameof(EventArgsInput.IsActionButton) + " or " + nameof(EventArgsInput.IsUseToolButton) + " instead")] // deprecated in SMAPI 2.1 public bool IsClick => this.IsActionButton; +#endif /// Whether the input should trigger actions on the affected tile. public bool IsActionButton { get; } -- cgit