5#ifndef __EVENT_MOUSE_H__
6#define __EVENT_MOUSE_H__
13const std::string MSE_EVENT =
"df-mouse";
17 UNDEFINED_MOUSE_ACTION = -1,
26 UNDEFINED_MOUSE_BUTTON = -1,
Definition: EventMouse.h:33
Vector getMousePosition() const
Get mouse event's position.
Mouse::Button getMouseButton() const
Get mouse event's button.
void setMouseAction(EventMouseAction new_mouse_action)
Set mouse event's action.
void setMousePosition(Vector new_mouse_xy)
Set mouse event's position.
EventMouseAction m_mouse_action
Mouse action.
Definition: EventMouse.h:36
Mouse::Button m_mouse_button
Mouse button.
Definition: EventMouse.h:37
Vector m_mouse_xy
Mouse (x,y) coordinates.
Definition: EventMouse.h:38
void setMouseButton(Mouse::Button new_mouse_button)
Set mouse event's button.
EventMouseAction getMouseAction() const
Get mouse event's action.
An animation for a sprite.
Definition: Animation.h:15
EventMouseAction
Set of mouse actions recognized by Dragonfly.
Definition: EventMouse.h:16