From 2f3ab2541f6085a50884317f9435ccf2fca5eb2f Mon Sep 17 00:00:00 2001 From: "SND\\rene87_cp" Date: Fri, 4 Nov 2011 23:06:39 +0000 Subject: [PATCH] Keyboard and Mouse Classe --- ANX.Framework/ANX.Framework.csproj | 2 ++ ANX.Framework/Input/Keyboard.cs | 20 ++++++++++++++++++++ ANX.Framework/Input/Mouse.cs | 20 ++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 ANX.Framework/Input/Keyboard.cs create mode 100644 ANX.Framework/Input/Mouse.cs diff --git a/ANX.Framework/ANX.Framework.csproj b/ANX.Framework/ANX.Framework.csproj index fe279973..213e7f37 100644 --- a/ANX.Framework/ANX.Framework.csproj +++ b/ANX.Framework/ANX.Framework.csproj @@ -248,9 +248,11 @@ + + diff --git a/ANX.Framework/Input/Keyboard.cs b/ANX.Framework/Input/Keyboard.cs new file mode 100644 index 00000000..b84e006d --- /dev/null +++ b/ANX.Framework/Input/Keyboard.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace ANX.Framework.Input +{ + public static class Keyboard + { + public static KeyboardState GetState() + { + throw new NotImplementedException(); + } + public static KeyboardState GetState (PlayerIndex playerIndex) + { + throw new NotImplementedException(); + } + + } +} diff --git a/ANX.Framework/Input/Mouse.cs b/ANX.Framework/Input/Mouse.cs new file mode 100644 index 00000000..79c9bcd8 --- /dev/null +++ b/ANX.Framework/Input/Mouse.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace ANX.Framework.Input +{ + public static class Mouse + { + public static IntPtr WindowHandle { get; set; } + public static MouseState GetState() + { + throw new NotImplementedException(); + } + public static void SetPosition(int x, int y) + { + throw new NotImplementedException(); + } + } +}