Quillraven / Fleks

Fast, lightweight, multi-platform entity component system in Kotlin
MIT License
174 stars 19 forks source link

systemOrNull and world contains system #146

Closed Quillraven closed 2 months ago

Quillraven commented 2 months ago

This PR adds two additional functions to the world:

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.