Mouse interface.
Definition IMouse.hpp:30
virtual void setPosition(Vector2f position)=0
set the position of the mouse
Buttons
Definition IMouse.hpp:39
@ BUTTON_LEFT
Definition IMouse.hpp:40
@ BUTTON_MIDDLE
Definition IMouse.hpp:42
@ EXTRA_BUTTON_1
Definition IMouse.hpp:44
@ EXTRA_BUTTON_2
Definition IMouse.hpp:45
@ BUTTON_RIGHT
Definition IMouse.hpp:41
virtual bool isButtonReleased(Buttons key) const =0
notice if a button is released
virtual float GetMouseWheelMove() const =0
get the mouse wheel move
virtual Vector2f getPosition() const =0
get the position of the mouse
virtual bool isButtonDown(Buttons key) const =0
notice if a button is down
virtual ~IMouse()=default
Destroy the IMouse interface.
virtual bool isButtonUp(Buttons key) const =0
notice if a button is up
virtual bool isButtonPressed(Buttons key) const =0
notice if a button is pressed
Definition IGamepad.hpp:14