|
Engine²
Open-source game engine written in C++.
|
Plugin for camera movement control. More...
#include <PluginCameraMovement.hpp>
Public Member Functions | |
| Plugin (Engine::Core &core) | |
| ~Plugin () override=default | |
| void | Bind () override |
| Pure virtual method that must be implemented by derived plugin classes. This method is called when the plugin is added to the engine, and is where the plugin should register its systems, resources, and any other functionality it provides to the engine. | |
| Public Member Functions inherited from Engine::APlugin | |
| APlugin (Core &core) | |
| Constructor for APlugin. It takes a reference to the Core, which is used to register systems and resources in the Bind method. | |
| template<CScheduler TScheduler, typename... Systems> | |
| decltype(auto) | RegisterSystems (Systems... systems) |
| Register systems to a scheduler. | |
| template<typename TResource> | |
| TResource & | RegisterResource (TResource &&resource) |
| Register a resource in the core. | |
| template<CPlugin... TPlugins> | |
| void | RequirePlugins () |
| Add a plugin to the core. | |
| template<CScheduler TScheduler, typename... Args> | |
| TScheduler & | RegisterScheduler (Args &&...args) |
| Register a scheduler in the core. | |
| Core & | GetCore () |
| Get a reference to the core. This can be used to register systems and resources in the Bind method. | |
| Public Member Functions inherited from Engine::IPlugin | |
| virtual | ~IPlugin ()=default |
| Virtual destructor for IPlugin. | |
Plugin for camera movement control.
This plugin provides camera movement functionality with customizable behaviors. It requires Object, Input, and Window plugins to be loaded.
After binding the plugin, the user must set the active camera entity using:
|
explicit |
|
overridedefault |
|
overridevirtual |
Pure virtual method that must be implemented by derived plugin classes. This method is called when the plugin is added to the engine, and is where the plugin should register its systems, resources, and any other functionality it provides to the engine.
Implements Engine::APlugin.