Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Trouble using Filter helpers on my entities array. #1

@savisaar2

Description

@savisaar2

using hasComponentType seems to always return null, i'm not really sure how to filter through my array of entities which have a specific component.

entity.getComponentType(Collision)

also the gets underlined by my ide so not really sure if that is also the issue.

After playing around i found out that if i use the same call within the Player assemblages file the code returns the component however when using this code within the PlayerSystem file i get a return of null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions