Represents a system that operates on sets of components.
More...
#include <System.hpp>
|
virtual | ~System () noexcept |
| Destructor.
|
|
virtual void | update (entt::registry ®istry)=0 |
| Abstract implementation for updating the system. Use the manager to retreive your components.
|
|
const std::string & | id () const noexcept |
| Get identifier.
|
|
|
| System (const std::string &id) noexcept |
| Constructor.
|
|
|
std::string | m_id |
| Debug id.
|
|
Represents a system that operates on sets of components.
Definition at line 23 of file System.hpp.
◆ ~System()
galaxy::systems::System::~System |
( |
| ) |
|
|
virtualnoexcept |
◆ System() [1/2]
galaxy::systems::System::System |
( |
const std::string & | id | ) |
|
|
protectednoexcept |
Constructor.
- Parameters
-
Definition at line 14 of file System.cpp.
◆ System() [2/2]
galaxy::systems::System::System |
( |
| ) |
|
|
privatedelete |
◆ update()
virtual void galaxy::systems::System::update |
( |
entt::registry & | registry | ) |
|
|
pure virtual |
◆ id()
const std::string & galaxy::systems::System::id |
( |
| ) |
const |
|
nodiscardnoexcept |
Get identifier.
- Returns
- Const string reference.
Definition at line 23 of file System.cpp.
◆ m_id
std::string galaxy::systems::System::m_id |
|
protected |
The documentation for this class was generated from the following files: