|
Berserk
|
Base class for any engine event. More...
#include <Event.hpp>


Public Member Functions | |
| BRK_API | Event ()=default |
| BRK_API | ~Event () override=default |
| virtual BRK_API const EventType & | GetEventType () const =0 |
Public Member Functions inherited from RefCnt | |
| virtual | ~RefCnt () |
| bool | IsUnique () const |
| std::int32_t | GetRefs () const |
| std::int32_t | AddRef () const |
| std::int32_t | RelRef () const |
Additional Inherited Members | |
Protected Member Functions inherited from RefCnt | |
| virtual void | Destroy () const |
Base class for any engine event.
Inherit from this class to create custom event. Uses StringName as event type to distinguish event kinds.
|
default |
|
overridedefault |
Returns type of this event. Override this function in your custom event implementation.
Implemented in EventWindow, EventMouse, EventKeyboard, EventJoystick, and EventDropInput.