Skip to content
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

[FEATURE REQUEST] The ability to remove System from Systems. #70

Open
ta-david-yu opened this issue Sep 25, 2022 · 0 comments
Open

[FEATURE REQUEST] The ability to remove System from Systems. #70

ta-david-yu opened this issue Sep 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ta-david-yu
Copy link

ta-david-yu commented Sep 25, 2022

Is your feature request related to a problem? Please describe.
The game I am trying to make is a party game. Each match will have at least 3 game flow states:

  1. Intro/Countdown: Players are spawned at their initial locations but cannot move while the game is counting down a timer before the game starts.
  2. Playing: Actual game state.
  3. Ending: Play a short cutscene to show the winners.

Each state uses different systems, therefore I want to remove/add systems based on the current state.
Note that It is possible to remove system from systems in the original Entitas but not in Redux.

Describe the solution you'd like
Add a Remove(ISystem system) function in the Systems class, like how it's done in the original Entitas Systems.

Describe alternatives you've considered
The solution mentioned should be the best, so no other alternatives.

@ta-david-yu ta-david-yu added the enhancement New feature or request label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant