You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Technically exists already. We can now define run-time tags because components are defined as entities now.
ecs::World w;
ecs::Entity teamA = w.add(); // entity representing some teamA we made up at run-time
ecs::Entity teamB = w.add(); // entity representing some teamB we made up at run-time
ecs::Entity player1 = w.add();
ecs::Entity player2 = w.add();
ecs::Entity player3 = w.add();
w.add(player1, teamA); // player1 now belongs to teamA
w.add(player2, teamA); // player2 now belongs to teamA
w.add(player3, teamB); // player3 now belongs to teamB
No description provided.
The text was updated successfully, but these errors were encountered: