Add ability to ask for the Entity ID along with components in Systems #1

Open
opened 2026-05-06 21:21:14 +00:00 by larssonmartin1998 · 0 comments

API could look something like:

hephaestus.create_system([](const IEngine& engine, std::tuple<Entity, const Transform&>){
    //
})

or

hephaestus.create_system([](const IEngine& engine, Entity entity, std::tuple<const Transform&>){
    //
})

Both have pros/cons.

API could look something like: ```cpp hephaestus.create_system([](const IEngine& engine, std::tuple<Entity, const Transform&>){ // }) ``` or ```cpp hephaestus.create_system([](const IEngine& engine, Entity entity, std::tuple<const Transform&>){ // }) ``` Both have pros/cons.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
larssonmartin1998/atlas#1
No description provided.