diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-04 16:18:23 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-04 16:18:23 -0400 |
commit | 433261e7d57096bec41ae6eea16f5f18b8045be8 (patch) | |
tree | 852a198edef52d57007a9547c9f2af55cbb6ed4d /src/SMAPI/SButton.cs | |
parent | 60b41195778af33fd609eab66d9ae3f1d1165e8f (diff) | |
download | SMAPI-433261e7d57096bec41ae6eea16f5f18b8045be8.tar.gz SMAPI-433261e7d57096bec41ae6eea16f5f18b8045be8.tar.bz2 SMAPI-433261e7d57096bec41ae6eea16f5f18b8045be8.zip |
fix ToSButton() methods not public
Diffstat (limited to 'src/SMAPI/SButton.cs')
-rw-r--r-- | src/SMAPI/SButton.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI/SButton.cs b/src/SMAPI/SButton.cs index 3f95169a..bc76c91d 100644 --- a/src/SMAPI/SButton.cs +++ b/src/SMAPI/SButton.cs @@ -604,21 +604,21 @@ namespace StardewModdingAPI *********/ /// <summary>Get the <see cref="SButton"/> equivalent for the given button.</summary> /// <param name="key">The keyboard button to convert.</param> - internal static SButton ToSButton(this Keys key) + public static SButton ToSButton(this Keys key) { return (SButton)key; } /// <summary>Get the <see cref="SButton"/> equivalent for the given button.</summary> /// <param name="key">The controller button to convert.</param> - internal static SButton ToSButton(this Buttons key) + public static SButton ToSButton(this Buttons key) { return (SButton)(SButtonExtensions.ControllerOffset + key); } /// <summary>Get the <see cref="SButton"/> equivalent for the given button.</summary> /// <param name="input">The Stardew Valley button to convert.</param> - internal static SButton ToSButton(this InputButton input) + public static SButton ToSButton(this InputButton input) { // derived from InputButton constructors if (input.mouseLeft) |