Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog:
onInit
function of a system which gets called after the world is configuredonInit
function. This is a necessary change to keep consistency of hooks and families in that specific scenario. [#123: aggregated family hooks that trigger IntervalSystems #128]onEnable
/onDisable
functions for systems to react onenabled
changes. [#124: add onEnabled/onDisabled functions to IntervalSystem #127]FamilyOnAdd
/FamilyOnRemove
interfaces that can be used onIteratingSystem
to add family hooks for the system's family in an easier way. Refer to the wiki for more details. [#123: aggregated family hooks that trigger IntervalSystems #128]onEntityRemoved
of a family is now called BEFORE the entitiy's components are removed. [Proposal: Component add/remove hooks that don't rely on Component.onAdd/onRemove #120]it += Component
which broke Fleks internally. This was introduced with the Tags feature and will now show you a compile error again. [FleksNoSuchEntityComponentException: Entity has no component of type 'BComponent'. #125]onDispose
and systems'onRemoveEntity
functions are called in reverse order. Before, the order was the order of systems of the world. [#129 reverse system dispose and entity onRemove order. #130]onSort
function and made the sorting attributes protected instead of private. This allows a better support for overriding theonTick
function, if needed. [Make iterating system private sorting-related fields protected. #133]Shoutout to @metaphore for the different suggestions and contributions!