Dungen Viewer

class DungenViewer(rect: pygame.Rect, manager: pygame_gui.ui_manager.UIManager)[source]

Bases: scripts.engine.widgets.panel.Panel

UI component that renders the construction of a dungeon as a separate window, step by step.

__init__(rect: pygame.Rect, manager: pygame_gui.ui_manager.UIManager)[source]

Initialize self. See help(type(self)) for accurate signature.

refresh_viewer()[source]

Gets the data for the viewer and runs generation again.

update(time_delta: float)[source]

Update based on current state and data. Run every frame.