Class Engine::RotationPlugin¶
ClassList > Engine > RotationPlugin
#include <RotationPlugin.hpp>
Inherits the following classes: Engine::IPlugin
Public Functions¶
| Type | Name |
|---|---|
| virtual void | Init (Registry & registry) override Initializes the plugin, registering components and systems. |
Public Functions inherited from Engine::IPlugin¶
See Engine::IPlugin
| Type | Name |
|---|---|
| virtual void | Init (Registry & registry) = 0 Initializes the plugin, registering components and systems. |
| virtual | ~IPlugin () = default |
Public Static Functions¶
| Type | Name |
|---|---|
| void | AttachToEntity (Registry & registry, Entity entity, float angle=0.0f) |
Public Functions Documentation¶
function Init¶
Initializes the plugin, registering components and systems.
Parameters:
registryA reference to the main ECS registry.
Implements Engine::IPlugin::Init
Public Static Functions Documentation¶
function AttachToEntity¶
static void Engine::RotationPlugin::AttachToEntity (
Registry & registry,
Entity entity,
float angle=0.0f
)
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Plugins/RotationPlugin.hpp