Acheron
Loading...
Searching...
No Matches
module.hpp
1#pragma once
2
3namespace acheron::ecs {
4 class World;
5
9 struct Module {
10 virtual ~Module() {};
16 virtual void Register(World& world) = 0;
17 };
18}
Central context for the ECS.
Definition world.hpp:20
The base struct a Module should inherit.
Definition module.hpp:9
virtual void Register(World &world)=0
Called when a module is imported.