diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-27 05:05:36 -0400 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-27 05:05:36 -0400 |
commit | 2cce7c2d27d0d678563d35c69f6879168bff53e4 (patch) | |
tree | 91d5bf2ab08eb1250ef7fd4712e0eff8bf5856ba /StardewModdingAPI/Events/Controls.cs | |
parent | 668b6b10b588d2f0fbe98ad75e0d4c256b6b13bb (diff) | |
download | SMAPI-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.cs | 16 |
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));
}
|