diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-07-10 14:33:36 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-07-10 14:33:36 -0400 |
commit | d82e57d3060c96923ba9a8efe3c9eb839abffe59 (patch) | |
tree | a6d9760bbb83444dc5418d9b3a996c5f6ce96c78 /src/StardewModdingAPI/Utilities | |
parent | 61d13d370c07bec029336890eec9501a8efc3056 (diff) | |
download | SMAPI-d82e57d3060c96923ba9a8efe3c9eb839abffe59.tar.gz SMAPI-d82e57d3060c96923ba9a8efe3c9eb839abffe59.tar.bz2 SMAPI-d82e57d3060c96923ba9a8efe3c9eb839abffe59.zip |
enable SMAPI 2.0 mode by default
This commit replaces the SMAPI_2_0 compile flag with SMAPI_1_x.
Diffstat (limited to 'src/StardewModdingAPI/Utilities')
-rw-r--r-- | src/StardewModdingAPI/Utilities/SButton.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/StardewModdingAPI/Utilities/SButton.cs b/src/StardewModdingAPI/Utilities/SButton.cs index f4fccfff..c66d5ade 100644 --- a/src/StardewModdingAPI/Utilities/SButton.cs +++ b/src/StardewModdingAPI/Utilities/SButton.cs @@ -1,16 +1,16 @@ -using System; +using System; using Microsoft.Xna.Framework.Input; namespace StardewModdingAPI.Utilities { /// <summary>A unified button constant which includes all controller, keyboard, and mouse buttons.</summary> /// <remarks>Derived from <see cref="Keys"/>, <see cref="Buttons"/>, and <see cref="System.Windows.Forms.MouseButtons"/>.</remarks> -#if SMAPI_2_0 - public -#else +#if SMAPI_1_x internal +#else + public #endif - enum SButton + enum SButton { /// <summary>No valid key.</summary> None = 0, @@ -593,10 +593,10 @@ namespace StardewModdingAPI.Utilities } /// <summary>Provides extension methods for <see cref="SButton"/>.</summary> -#if SMAPI_2_0 - public -#else +#if SMAPI_1_x internal +#else + public #endif static class SButtonExtensions { |