Made the components module work like textures and sound so that there's just one constant map of components.
This commit is contained in:
parent
ab391aaa97
commit
f208ca946e
10 changed files with 42 additions and 41 deletions
|
@ -181,8 +181,9 @@ namespace components {
|
|||
};
|
||||
}
|
||||
|
||||
void configure(ComponentMap& component_map);
|
||||
|
||||
void configure_entity(const ComponentMap& component_map, DinkyECS::World& world, DinkyECS::Entity ent, json& data);
|
||||
void init();
|
||||
|
||||
void configure_entity(DinkyECS::World& world, DinkyECS::Entity ent, json& data);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue