projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved event pumping onto the draw thread, should fix windows event problems
[physics.git]
/
src
/
input
/
inputManager.h
diff --git
a/src/input/inputManager.h
b/src/input/inputManager.h
index
829dbc3
..
e0450b2
100644
(file)
--- a/
src/input/inputManager.h
+++ b/
src/input/inputManager.h
@@
-21,7
+21,6
@@
#include <SDL/SDL.h>
#include "../Vector2.h"
#include <SDL/SDL.h>
#include "../Vector2.h"
-
/// ***** Header Methods *****
namespace input
/// ***** Header Methods *****
namespace input
@@
-36,11
+35,11
@@
namespace input
bool mouseLeft();
bool mouseRight();
bool mouseLeft();
bool mouseRight();
- bool isPressed(
SDLKey
);
- bool isReleased(
SDLKey
);
+ bool isPressed(
const SDLKey&
);
+ bool isReleased(
const SDLKey&
);
- bool wasPressed(
SDLKey
);
- bool wasReleased(
SDLKey
);
+ bool wasPressed(
const SDLKey&
);
+ bool wasReleased(
const SDLKey&
);
}
#endif // INPUT_H
}
#endif // INPUT_H