From 2d36105c33ffba77eb979ef6ef0d2e7d906b09bc Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 23 Sep 2017 20:53:12 -0400 Subject: drop support for SMAPI 1.x (#360) --- src/StardewModdingAPI/Utilities/SButton.cs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/StardewModdingAPI/Utilities/SButton.cs') diff --git a/src/StardewModdingAPI/Utilities/SButton.cs b/src/StardewModdingAPI/Utilities/SButton.cs index 33058a64..fa5ae648 100644 --- a/src/StardewModdingAPI/Utilities/SButton.cs +++ b/src/StardewModdingAPI/Utilities/SButton.cs @@ -6,12 +6,7 @@ namespace StardewModdingAPI.Utilities { /// A unified button constant which includes all controller, keyboard, and mouse buttons. /// Derived from , , and . -#if SMAPI_1_x - internal -#else - public -#endif - enum SButton + public enum SButton { /// No valid key. None = 0, @@ -594,12 +589,7 @@ namespace StardewModdingAPI.Utilities } /// Provides extension methods for . -#if SMAPI_1_x - internal -#else - public -#endif - static class SButtonExtensions + public static class SButtonExtensions { /********* ** Accessors -- cgit