luna engine
software engine
Loading...
Searching...
No Matches
luna::Event Class Referenceabstract

#include <event.h>

Inheritance diagram for luna::Event:

Public Member Functions

virtual ~Event ()=default
 
virtual eventType getEventType () const =0
 
virtual const char * getName () const =0
 
virtual int getCategoryFlags () const =0
 
virtual std::string toString () const
 
bool IsInCategory (eventCategory category)
 

Public Attributes

bool Handled = false
 

Constructor & Destructor Documentation

◆ ~Event()

virtual luna::Event::~Event ( )
virtualdefault

Member Function Documentation

◆ getCategoryFlags()

virtual int luna::Event::getCategoryFlags ( ) const
pure virtual

◆ getEventType()

virtual eventType luna::Event::getEventType ( ) const
pure virtual

◆ getName()

virtual const char * luna::Event::getName ( ) const
pure virtual

◆ IsInCategory()

bool luna::Event::IsInCategory ( eventCategory  category)
inline

◆ toString()

Member Data Documentation

◆ Handled

bool luna::Event::Handled = false

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