Skip to content

Use more component checks instead of instanceof checks where possible #160

@Nul-led

Description

@Nul-led

instanceof can be more expensive than just checking if the component you want exists on the entity, its also less ecs-idiomatic

Metadata

Metadata

Assignees

No one assigned

    Labels

    futureFuture issues require future solutionsmiscMiscellaneous issuessuggestionAny feature suggestions to the implementation of diepcustom

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions