projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gravity well now follows the mouse
[physics.git]
/
src
/
input
/
inputManager.h
diff --git
a/src/input/inputManager.h
b/src/input/inputManager.h
index
a117324
..
3e0e45d
100644
(file)
--- a/
src/input/inputManager.h
+++ b/
src/input/inputManager.h
@@
-19,6
+19,7
@@
#define INPUT_H
#include <SDL/SDL.h>
+#include "../Vector2.h"
/// ***** Header Methods *****
@@
-30,6
+31,8
@@
namespace input
void update();
+ Vector2 mousePosition();
+
bool isPressed(Uint8);
bool isReleased(Uint8);