summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/Controls.cs
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-27 05:05:36 -0400
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-27 05:05:36 -0400
commit2cce7c2d27d0d678563d35c69f6879168bff53e4 (patch)
tree91d5bf2ab08eb1250ef7fd4712e0eff8bf5856ba /StardewModdingAPI/Events/Controls.cs
parent668b6b10b588d2f0fbe98ad75e0d4c256b6b13bb (diff)
downloadSMAPI-2cce7c2d27d0d678563d35c69f6879168bff53e4.tar.gz
SMAPI-2cce7c2d27d0d678563d35c69f6879168bff53e4.tar.bz2
SMAPI-2cce7c2d27d0d678563d35c69f6879168bff53e4.zip
invocations are now internal
Diffstat (limited to 'StardewModdingAPI/Events/Controls.cs')
-rw-r--r--StardewModdingAPI/Events/Controls.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/StardewModdingAPI/Events/Controls.cs b/StardewModdingAPI/Events/Controls.cs
index 87319f37..6415561a 100644
--- a/StardewModdingAPI/Events/Controls.cs
+++ b/StardewModdingAPI/Events/Controls.cs
@@ -15,42 +15,42 @@ namespace StardewModdingAPI.Events
public static event EventHandler<EventArgsControllerTriggerPressed> ControllerTriggerPressed = delegate { };
public static event EventHandler<EventArgsControllerTriggerReleased> ControllerTriggerReleased = delegate { };
- public static void InvokeKeyboardChanged(KeyboardState priorState, KeyboardState newState)
+ internal static void InvokeKeyboardChanged(KeyboardState priorState, KeyboardState newState)
{
KeyboardChanged.Invoke(null, new EventArgsKeyboardStateChanged(priorState, newState));
}
- public static void InvokeMouseChanged(MouseState priorState, MouseState newState)
+ internal static void InvokeMouseChanged(MouseState priorState, MouseState newState)
{
MouseChanged.Invoke(null, new EventArgsMouseStateChanged(priorState, newState));
}
- public static void InvokeKeyPressed(Keys key)
+ internal static void InvokeKeyPressed(Keys key)
{
KeyPressed.Invoke(null, new EventArgsKeyPressed(key));
}
- public static void InvokeKeyReleased(Keys key)
+ internal static void InvokeKeyReleased(Keys key)
{
KeyReleased.Invoke(null, new EventArgsKeyPressed(key));
}
- public static void InvokeButtonPressed(PlayerIndex playerIndex, Buttons buttons)
+ internal static void InvokeButtonPressed(PlayerIndex playerIndex, Buttons buttons)
{
ControllerButtonPressed.Invoke(null, new EventArgsControllerButtonPressed(playerIndex, buttons));
}
- public static void InvokeButtonReleased(PlayerIndex playerIndex, Buttons buttons)
+ internal static void InvokeButtonReleased(PlayerIndex playerIndex, Buttons buttons)
{
ControllerButtonReleased.Invoke(null, new EventArgsControllerButtonReleased(playerIndex, buttons));
}
- public static void InvokeTriggerPressed(PlayerIndex playerIndex, Buttons buttons, float value)
+ internal static void InvokeTriggerPressed(PlayerIndex playerIndex, Buttons buttons, float value)
{
ControllerTriggerPressed.Invoke(null, new EventArgsControllerTriggerPressed(playerIndex, buttons, value));
}
- public static void InvokeTriggerReleased(PlayerIndex playerIndex, Buttons buttons, float value)
+ internal static void InvokeTriggerReleased(PlayerIndex playerIndex, Buttons buttons, float value)
{
ControllerTriggerReleased.Invoke(null, new EventArgsControllerTriggerReleased(playerIndex, buttons, value));
}