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.
 

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)
override

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

Parameters
EnTTregistry to process entities from.

Definition at line 26 of file ScriptSystem.cpp.


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