flame icon indicating copy to clipboard operation
flame copied to clipboard

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

Open erickzanardo opened this issue 2 months ago • 0 comments

Problem to solve

Originally this issue was in the old repository: https://github.com/VeryGoodOpenSource/flame_behaviors/issues/21

Description

@renancaraujo mentioned in https://github.com/VeryGoodOpenSource/flame_behaviors/pull/20#discussion_r901742664 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?

erickzanardo avatar Oct 21 '25 14:10 erickzanardo