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

Refactor singleton with global context #200

Merged

Conversation

hyv1001
Copy link
Collaborator

@hyv1001 hyv1001 commented May 22, 2022

The singleton pattern has many flaws in game engine architecture, we would like to replace this pattern with global context.

add global context file

refactor global

update engine

update engine

update

delete orig file

refactor singleton
add global context file

refactor global

update engine

update engine

update

delete orig file

refactor singleton
@hyv1001 hyv1001 merged commit 4b5b962 into BoomingTech:main May 22, 2022
@hyv1001 hyv1001 deleted the refactor-singleton-with-global-context branch May 30, 2022 00:27
@ShenMian ShenMian mentioned this pull request Aug 12, 2022
KaygNas pushed a commit to KaygNas/Piccolo that referenced this pull request Feb 10, 2023
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