diff --git a/Shared/KeyboardInput.cs b/Shared/KeyboardInput.cs deleted file mode 100644 index 0dd8610..0000000 --- a/Shared/KeyboardInput.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Microsoft.Xna.Framework.Input; -using System.Collections.Generic; - -namespace SemiColinGames { - public class KeyboardInput { - private KeyboardState oldState = Keyboard.GetState(); - private List newKeysDown = new List(); - - public void Update() { - KeyboardState newState = Keyboard.GetState(); - newKeysDown.Clear(); - foreach (Keys k in newState.GetPressedKeys()) { - if (!oldState.IsKeyDown(k)) { - newKeysDown.Add(k); - } - } - oldState = newState; - } - - public List NewKeysDown() { - return newKeysDown; - } - } -} \ No newline at end of file diff --git a/Shared/Shared.projitems b/Shared/Shared.projitems index de320f5..2cece17 100644 --- a/Shared/Shared.projitems +++ b/Shared/Shared.projitems @@ -14,9 +14,8 @@ - - + \ No newline at end of file diff --git a/Shared/Shared.shproj b/Shared/Shared.shproj index 397149a..33096c7 100644 --- a/Shared/Shared.shproj +++ b/Shared/Shared.shproj @@ -15,7 +15,6 @@ - @@ -24,4 +23,4 @@ - + \ No newline at end of file