Skip to content

feat(flame_behaviours): add an abstract ScreenCollisionBehavior to interact with a ScreenHitbox #3750

@erickzanardo

Description

@erickzanardo

Problem to solve

Originally this issue was in the old repository: VeryGoodOpenSource/flame_behaviors#21

Description

@renancaraujo mentioned in VeryGoodOpenSource/flame_behaviors#20 (comment) that it would be nice to provide a behavior that simplifies collision interaction with a ScreenHitbox. We should provide an abstract API for that, that people can extend from to implement their own if I hit the screen then do this logic.

Proposal

  • An API that allows developers to interact with the ScreenHitbox from a behavior.
  • Add tests that ensure this new API works as expected.

More information

No response

Other

  • Are you interested in working on a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions