-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Move states into their own crate #11087
Copy link
Copy link
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
What problem does this solve or what need does it fill?
States in
bevy_ecscan and should be implemented freely by consumers: many possible variations exist (pattern matching, substates, state stacks).By including them within
bevy_ecs, we:bevy_ecs, increasing complexity and compile times for both users and maintainers.What solution would you like?
Move States into their own
bevy_statecrate.What alternative(s) have you considered?
Leave it as is.
Additional context