Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
PluginGraphic.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "plugin/APlugin.hpp"
4
5namespace Graphic {
6class Plugin : public Engine::APlugin {
7 public:
8 explicit Plugin(Engine::Core &core)
9 : Engine::APlugin(core) {
10 // empty
11 };
12 ~Plugin() override = default;
13
14 void Bind() final;
15};
16} // namespace Graphic
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() override=default
Plugin(Engine::Core &core)
Definition PluginGraphic.hpp:8
void Bind() final
Pure virtual method that must be implemented by derived plugin classes. This method is called when th...
Definition PluginGraphic.cpp:11
Definition Core.hpp:17
Definition AdapterCreationError.hpp:5