galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::systems::ScriptSystem Class Referencefinal

Update entities with a script component. More...

#include <ScriptSystem.hpp>

+ Inheritance diagram for galaxy::systems::ScriptSystem:
+ Collaboration diagram for galaxy::systems::ScriptSystem:

Public Member Functions

 ScriptSystem ()
 Constructor.
 
virtual ~ScriptSystem ()
 Destructor.
 
void update (entt::registry &registry) override
 Abstract implementation for updating the system. Use the manager to retreive your components.
 
- Public Member Functions inherited from galaxy::systems::System
virtual ~System () noexcept
 Destructor.
 
const std::string & id () const noexcept
 Get identifier.
 

Additional Inherited Members

- Protected Member Functions inherited from galaxy::systems::System
 System (const std::string &id) noexcept
 Constructor.
 
- Protected Attributes inherited from galaxy::systems::System
std::string m_id
 Debug id.
 

Detailed Description

Update entities with a script component.

Definition at line 20 of file ScriptSystem.hpp.

Constructor & Destructor Documentation

◆ ScriptSystem()

galaxy::systems::ScriptSystem::ScriptSystem ( )

Constructor.

Definition at line 18 of file ScriptSystem.cpp.

◆ ~ScriptSystem()

galaxy::systems::ScriptSystem::~ScriptSystem ( )
virtual

Destructor.

Definition at line 22 of file ScriptSystem.cpp.

Member Function Documentation

◆ update()

void galaxy::systems::ScriptSystem::update ( entt::registry & registry)
overridevirtual

Abstract implementation for updating the system. Use the manager to retreive your components.

Parameters
EnTTregistry to process entities from.

Implements galaxy::systems::System.

Definition at line 26 of file ScriptSystem.cpp.


The documentation for this class was generated from the following files: