Wrapper class for systems to support lambda and function pointers.
More...
#include <system_function.hpp>
|
|
| SystemFunction (Func &&f) |
| | System Function Wrapper.
|
| void | Update (World &world, double dt) override |
| | Iterates through all entities associated with system, and call it.
|
|
|
std::unordered_set< Entity > | entities |
| | List of entities a system is matched with.
|
template<typename Func>
class acheron::ecs::SystemFunction< Func >
Wrapper class for systems to support lambda and function pointers.
- Template Parameters
-
◆ Update()
Iterates through all entities associated with system, and call it.
- Parameters
-
| world | A reference to the World |
| dt | Delta Time |
Reimplemented from acheron::ecs::System.
The documentation for this class was generated from the following file: