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

systemOrNull and world contains system #146

Merged
merged 3 commits into from
Jul 7, 2024

Conversation

Quillraven
Copy link
Owner

This PR adds two additional functions to the world:

  • systemOrNull
  • contains for a system class

They make sense with the change of #145 and also I needed them for a special feature in my game as well where I want to bypass certain game events if a specific system is not part of the world.

Also, I split world configuration and world stuff into two separate files now since that got too big and annoying to navigate in the single file.

@RefuX: this might be useful for you as well.

@Quillraven Quillraven added the enhancement New feature or request label Jul 7, 2024
@Quillraven Quillraven added this to the 2.9 milestone Jul 7, 2024
@Quillraven Quillraven merged commit 783265d into master Jul 7, 2024
4 checks passed
@Quillraven Quillraven deleted the systemOrNull-and-systemContains branch July 7, 2024 19:51
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

Successfully merging this pull request may close these issues.

1 participant