sturdykeep / backbone

Strong & flexible game library for Flutter, that drinks milk 🥛
Other
37 stars 1 forks source link

Selectable trait and system #59

Closed skyne98 closed 2 years ago

skyne98 commented 2 years ago
  1. Add Result resources for different input systems
  2. Add a Selectable trait
  3. Add a Selection resource
  4. Hook into input results to decide what should be selected
skyne98 commented 2 years ago

Return boolean from the onSelected callback to decide if the node should get selected. (Also remove the selectable).

skyne98 commented 2 years ago

priority sorting for the selection.

skyne98 commented 2 years ago

@Dev-Owl, can you confirm that everything works as expected for you and close this issue?

skyne98 commented 2 years ago

I think it's in a good state now!