Added old-state-methods and GetMouseMovement

This commit is contained in:
Simon Lübeß
2020-11-16 18:04:31 +01:00
parent 37f59793d9
commit 3ef090e932
+7 -6
View File
@@ -27,18 +27,19 @@ namespace GlitchyEngine
public static extern bool IsMouseButtonPressed(MouseButton button); public static extern bool IsMouseButtonPressed(MouseButton button);
public static extern bool IsMouseButtonReleased(MouseButton button); public static extern bool IsMouseButtonReleased(MouseButton button);
public static extern Point GetMousePosition();
public static extern bool WasMouseButtonPressed(MouseButton button);
public static extern bool WasMouseButtonReleased(MouseButton button);
public static extern int32 GetMouseX(); public static extern int32 GetMouseX();
public static extern int32 GetMouseY(); public static extern int32 GetMouseY();
public static extern bool WasMouseButtonPressed(MouseButton button);
public static extern bool WasMouseButtonReleased(MouseButton button);
public static extern Point GetLastMousePosition();
public static extern int32 GetLastMouseX(); public static extern int32 GetLastMouseX();
public static extern int32 GetLastMouseY(); public static extern int32 GetLastMouseY();
public static extern Point GetMousePosition(); public static extern bool IsMouseButtonPressing(MouseButton button);
public static extern Point GetLastMousePosition(); public static extern bool IsMouseButtonReleasiong(MouseButton button);
public static extern Point GetMouseMovement();
public static extern void NewFrame(); public static extern void NewFrame();
} }