KarmaEngine
Game Engine for practical learning and research purposes
|
This file contains the base class Event for Karma's events. More...
#include "krpch.h"
Go to the source code of this file.
Classes | |
class | Karma::Event |
The base class of all the events for Karma. More... | |
class | Karma::EventDispatcher |
Class for dispatching events. More... | |
Macros | |
#define | EVENT_CLASS_TYPE(type) |
A macro for a template for Event based classes. | |
#define | EVENT_CLASS_CATEGORY(category) |
Macro for the routine category flags. | |
Enumerations | |
enum class | Karma::EventType { None = 0 , WindowClose , WindowResize , WindowFocus , WindowLostFocus , WindowMoved , AppTick , AppUpdate , AppRender , KeyPressed , KeyReleased , KeyTyped , MouseButtonPressed , MouseButtonReleased , MouseMoved , MouseScrolled , GameControllerConnected , GameControllerDisconnected } |
Collection of events used by the Engine. | |
enum | Karma::EventCategory { Karma::None = 0 , Karma::EventCategoryApplication = BIT(0) , Karma::EventCategoryInput = BIT(1) , Karma::EventCategoryKeyboard = BIT(2) , Karma::EventCategoryMouse = BIT(3) , Karma::EventCategoryMouseButton = BIT(4) , Karma::EventCategoryGameControllerDevice = BIT(5) } |
Classification of the above events. More... | |
This file contains the base class Event for Karma's events.
#define EVENT_CLASS_CATEGORY | ( | category | ) |
Macro for the routine category flags.
#define EVENT_CLASS_TYPE | ( | type | ) |
A macro for a template for Event based classes.
enum Karma::EventCategory |
Classification of the above events.