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

Clean up multiplayer-screen tests by removing intermediate screen #15335

Merged
merged 2 commits into from
Oct 28, 2021

Conversation

smoogipoo
Copy link
Contributor

I didn't like the setup code with the intermediate "DependenciesScreen" which was duplicated across 3 classes.

This PR restructures things such that a TestMultiplayerScreenStack (I don't have a better name, suggestions welcome) screen is now loaded via ScreenTestScene.LoadScreen(), which sets everything up internally and loads a Multiplayer screen in an internal screen stack.

@peppy peppy enabled auto-merge October 28, 2021 06:14
@peppy peppy disabled auto-merge October 28, 2021 08:28
@peppy peppy merged commit 4f4f250 into ppy:master Oct 28, 2021
@smoogipoo smoogipoo deleted the cleanup-multiplayer-screen-tests branch September 11, 2023 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants