New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline SelectionSize traits #14455

Closed
reaperrr opened this Issue Nov 30, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@reaperrr
Contributor

reaperrr commented Nov 30, 2017

I (and I think others, too) have never really liked this setup with AutoSelectionSize for sprites, voxel bodies implementing IAutoSelectionSize directly and CustomSelectionSize for everything else.

Now that we've split off the render bounds stuff and IAutoSelectionSize is really only about selectable area, I'd really like to merge all IAutoSelectionSize stuff into a single InteractionBounds trait, that auto-calculates bounds by default and provides a Bounds property for manual overrides.

The main challenge in this is to make sure that things work for both sprites and voxels, and are loaded and passed on without conflicts or load order issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment