Skip to content

Commit

Permalink
Refactored ECS ComponentType handling. #37 #49 #51.
Browse files Browse the repository at this point in the history
Replaced ComponentIDGenerator with ComponentHelper.
ComponentHelper gives ComponentID but also stores an array of ComponentInfo.
ComponentInfo allows a non-templated way to access information about types after type erasure. This access is required by #37 and #51 when the only type supplied to these functions is the ComponentType being added or removed.
Removed Archetype getComponentImpl and getComponentMutableInfo.
  • Loading branch information
MStachowicz committed Apr 5, 2023
1 parent 25ce7ee commit 8614562
Showing 1 changed file with 217 additions and 194 deletions.
Loading

0 comments on commit 8614562

Please sign in to comment.