SDEngine
Game Engine
Loading...
Searching...
No Matches
sd::MousePressedEvent Class Reference

#include <mouse_events.hpp>

+ Inheritance diagram for sd::MousePressedEvent:
+ Collaboration diagram for sd::MousePressedEvent:

Public Member Functions

 MousePressedEvent (int button, int mods, bool repeat)
 
- Public Member Functions inherited from sd::Event
virtual ~Event ()=default
 
virtual const charget_name () const =0
 
virtual EventType get_event_type () const =0
 
virtual int get_category_flags () const =0
 
bool is_in_category (EventCategory category) const
 

Public Attributes

int button
 
int mods
 
bool repeat
 

Constructor & Destructor Documentation

◆ MousePressedEvent()

sd::MousePressedEvent::MousePressedEvent ( int  button,
int  mods,
bool  repeat 
)
inlineexplicit

Member Data Documentation

◆ button

int sd::MousePressedEvent::button

◆ mods

int sd::MousePressedEvent::mods

◆ repeat

bool sd::MousePressedEvent::repeat

The documentation for this class was generated from the following file: