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

feat: static System priority #3207

Merged
merged 8 commits into from
Sep 20, 2024

Conversation

Autsider666
Copy link
Contributor

@Autsider666 Autsider666 commented Sep 15, 2024

===:clipboard: PR Checklist :clipboard:===

  • 📌 issue exists in github for these changes
  • 🔬 existing tests still pass
  • 🙈 code conforms to the style guide
  • 📐 new tests written and passing / old tests updated with new scenario(s)
  • 📄 changelog entry added (or not needed)

==================

Closes #3102

Changes:

  • Refactored System.priority to be static
  • Updated priority in all systems
  • Updated priority sort in SystemManager

@eonarheim
Copy link
Member

@Autsider666 Thanks for the PR, this looks perfect. Just a few failing tests that need a small refactor to account for the static.

Apologies about the late review I'm catching up on a few things.

jyoung4242 and others added 3 commits September 18, 2024 21:56
…urjs#3143)

* first cut at onAdd and onRemove

* updated transfer method

* complete

* added on('event') for add and remove

* added test that doesn't work

* fix test

---------

Co-authored-by: Erik Onarheim <erik.onarheim@gmail.com>
@eonarheim
Copy link
Member

Ope I accidentally added commits on main before merging doh! Should be fine

@eonarheim eonarheim merged commit c6315eb into excaliburjs:main Sep 20, 2024
3 checks passed
@eonarheim
Copy link
Member

@Autsider666 Thanks again!

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.

Change "priority" on System to be a static member
3 participants