SDEngine
Game Engine
Loading...
Searching...
No Matches
sd::Event Class Referenceabstract

#include <Event.hpp>

+ Inheritance diagram for sd::Event:

Public Member Functions

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
 

Private Attributes

bool m_handled = false
 

Friends

class EventDispatcher
 
class LayerList
 

Constructor & Destructor Documentation

◆ ~Event()

virtual sd::Event::~Event ( )
virtualdefault

Member Function Documentation

◆ get_category_flags()

virtual int sd::Event::get_category_flags ( ) const
pure virtual

◆ get_event_type()

virtual EventType sd::Event::get_event_type ( ) const
pure virtual

◆ get_name()

virtual const char * sd::Event::get_name ( ) const
pure virtual

◆ is_in_category()

bool sd::Event::is_in_category ( EventCategory  category) const
inline

Friends And Related Symbol Documentation

◆ EventDispatcher

◆ LayerList

Member Data Documentation

◆ m_handled

bool sd::Event::m_handled = false
private

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