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
Fix missing entity and eid components implicitly added to all entities
* Also fix `map_components` treating keyword arguments as component
query criteria
Rewrite ECS module again
- Storing components in sparse arrays might even give a performance
improvement.
- Simplify API by having `Component` subclasses implicitly created by the
`Entity` metaclass.
- Query entity components in System functions via function arguments,
similar to pytest fixtures or FastAPI dependency injection.
- Plus assorted minor tweaks.
Refactor animation functions to accept a callable for frames
* A dict or list of keyframes is actually a special case - the general case is a function that returns a frame for a given quotient