bauiv1lib.coop package¶
Submodules¶
bauiv1lib.coop.browser module¶
UI for browsing available co-op levels/games/etc.
- class bauiv1lib.coop.browser.CoopBrowserWindow(transition: str | None = 'in_right', origin_widget: Widget | None = None)[source]¶
Bases:
MainWindow
Window for browsing co-op levels/games/etc.
- get_main_window_state() MainWindowState [source]¶
Return a WindowState to recreate this specific window.
Used to gracefully return to a window from another window or ui system.
- main_window_should_preserve_selection() bool [source]¶
Whether this window should auto-save/restore selection.
If enabled, selection will be stored in the window’s shared state. See
get_main_window_shared_state_id()
for more info about main-window shared-state.The default value of None results in a warning to explicitly override this (as the implicit default will change from False to True after api 9 support ends).
- on_main_window_close() None [source]¶
Called before transitioning out a main window.
A good opportunity to save window state/etc.
- run_tournament(tournament_button: TournamentButton) None [source]¶
Run the provided tournament game.
bauiv1lib.coop.level module¶
Bits of utility functionality related to co-op levels.