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

Overridable updateSystem, processOperations in Engine #316

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yahel-ck
Copy link

hey :) this is a really small change and non-breaking, I just added updateSystem, processOperations methods to Engine to allow more control when extending with a custom engine class.

For example I used this to implement a profiling engine to check how much runtime each system uses.
Without this change you'd have to override update and copy+paste it's implementation with specific changes which is pretty messy.

Sorry for the ugly diff, the IDE automatically removed a bunch of white-spaces.

I tested this with a few different personal projects and it works perfectly.

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.

1 participant