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

Pygamelib shared variables #30

Open
milenkoviclazar opened this issue Oct 2, 2018 · 0 comments
Open

Pygamelib shared variables #30

milenkoviclazar opened this issue Oct 2, 2018 · 0 comments

Comments

@milenkoviclazar
Copy link
Contributor

Currently, the Pygame module has a PygameLib object that keeps track of various states of the module, such as PygameLib.running, PygameLib.initial_time, PygameLib.repeatKeys, PygameLib.mouseData, ...
Obviously, things can get screwed up when multiple instances of Pygame module are running at the same time. Coming up with a way to keep these variables linked to the instance of Pygame execution will be of a big help.

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

No branches or pull requests

1 participant