PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
application_events.h
1#pragma once
2
3#include "pixelbullet/core/event.h"
4
5namespace pixelbullet::application
6{
7class AppTickEvent : public core::Event
8{
9public:
10 AppTickEvent() = default;
11
12 PB_EVENT_TYPE(AppTick)
13 PB_EVENT_CATEGORIES(core::EventCategory::Application)
14};
15
16class AppUpdateEvent : public core::Event
17{
18public:
19 AppUpdateEvent() = default;
20
21 PB_EVENT_TYPE(AppUpdate)
22 PB_EVENT_CATEGORIES(core::EventCategory::Application)
23};
24
25class AppRenderEvent : public core::Event
26{
27public:
28 AppRenderEvent() = default;
29
30 PB_EVENT_TYPE(AppRender)
31 PB_EVENT_CATEGORIES(core::EventCategory::Application)
32};
33
34} // namespace pixelbullet::application
Definition event.h:108