#define INPUT_H
#include <SDL/SDL.h>
-
+#include "../Vector2.h"
/// ***** Header Methods *****
void update();
- bool isPressed(Uint8);
- bool isReleased(Uint8);
+ Vector2 mousePosition();
+
+ bool mouseLeft();
+ bool mouseRight();
+
+ bool isPressed(const SDLKey&);
+ bool isReleased(const SDLKey&);
- bool wasPressed(Uint8);
- bool wasReleased(Uint8);
+ bool wasPressed(const SDLKey&);
+ bool wasReleased(const SDLKey&);
}
#endif // INPUT_H