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
ScriptSystem.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_SYSTEMS_SCRIPTSYSTEM_HPP_
9#define GALAXY_SYSTEMS_SCRIPTSYSTEM_HPP_
10
12
13namespace galaxy
14{
15 namespace systems
16 {
20 class ScriptSystem final : public systems::System
21 {
22 public:
27
31 virtual ~ScriptSystem();
32
38 void update(entt::registry& registry) override;
39 };
40 } // namespace systems
41} // namespace galaxy
42
43#endif
Update entities with a script component.
void update(entt::registry &registry) override
Abstract implementation for updating the system. Use the manager to retreive your components.
virtual ~ScriptSystem()
Destructor.
Represents a system that operates on sets of components.
Definition System.hpp:24
Timer.hpp galaxy.
Definition Async.hpp:17