diff --git a/MmgEngine/GameState.cs b/MmgEngine/GameState.cs index ad85ed6..6962087 100644 --- a/MmgEngine/GameState.cs +++ b/MmgEngine/GameState.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using Microsoft.Xna.Framework; namespace MmgEngine; diff --git a/MmgEngine/Input.cs b/MmgEngine/Input.cs index eeffbf1..756fe6c 100644 --- a/MmgEngine/Input.cs +++ b/MmgEngine/Input.cs @@ -52,7 +52,7 @@ public static void UpdateMouseInput(MouseState mouseState) RightButton = Convert.ToBoolean(mouseState.RightButton); XButton1 = Convert.ToBoolean(mouseState.XButton1); XButton2 = Convert.ToBoolean(mouseState.XButton2); - MousePoint = ((mouseState.Position.ToVector2() - EngineStatics.Offset) / EngineStatics.Scale ).ToPoint(); + MousePoint = ((mouseState.Position.ToVector2() - EngineStatics.Offset) / EngineStatics.Scale).ToPoint(); } private static void CheckMouseInput(ref bool button, bool value, [CallerMemberName] string name = null)