Skip to content

Conversation

@infmagic2047
Copy link

#111 added the ability to run one-shot systems upon tween completion. However, there was no way to distinguish between different entities that use the same system as callback. This PR changes the callback systems to take the entity ID as input instead.

I removed the old API that runs systems without inputs, as I believe it provides little additional value over the new API. The new API is also more consistent with other "with_completed" methods, which provide the entity ID in callback functions and events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants