Skip to content

Refactor singleton with global context#200

Merged
hyv1001 merged 5 commits intoBoomingTech:mainfrom
hyv1001:refactor-singleton-with-global-context
May 22, 2022
Merged

Refactor singleton with global context#200
hyv1001 merged 5 commits intoBoomingTech:mainfrom
hyv1001:refactor-singleton-with-global-context

Conversation

@hyv1001
Copy link
Copy Markdown
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.

hyv1001 added 5 commits May 22, 2022 19:37
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