Skip to content

Make component inheritance work with get #1536

@SanderMertens

Description

@SanderMertens

Describe the problem you are trying to solve.
Currently get operations do not take into account component inheritance.

Describe the solution you'd like
If an entity has component B, and B inherits from A, then e.get<A>() should return B.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions