Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
PluginEvent.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "plugin/APlugin.hpp"
4
5namespace Event {
6class Plugin : public Engine::APlugin {
7 public:
8 explicit Plugin(Engine::Core &core)
9 : Engine::APlugin(core) {
10 // empty
11 };
12 ~Plugin() final = default;
13
14 void Bind() final;
15};
16} // namespace Event
Abstract plugin class that add some utility functions to make it easier to register systems and resou...
Definition APlugin.hpp:9
APlugin(Core &core)
Constructor for APlugin. It takes a reference to the Core, which is used to register systems and reso...
Definition APlugin.hpp:15
The core is the place where all the data of the engine is stored. It contains the registry (entities)...
Definition Core.hpp:33
~Plugin() final=default
void Bind() final
Pure virtual method that must be implemented by derived plugin classes. This method is called when th...
Definition PluginEvent.cpp:11
Plugin(Engine::Core &core)
Definition PluginEvent.hpp:8
Definition Core.hpp:17
Definition PluginEvent.hpp:5