kxg.quickstart.Theater

class kxg.quickstart.Theater(initial_stage=None, gui=None)[source]

Bases: object

Manage whichever stage is currently active. This involves both updating the current stage and handling transitions between stages.

Public Methods:

__init__([initial_stage, gui])

Initialize self.

update([dt])

exit()

__init__(initial_stage=None, gui=None)[source]

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

_update_after_loop(dt)[source]
_update_before_loop(dt)[source]
_update_main_loop(dt)[source]
property current_stage
exit()[source]
property gui
property initial_stage
property is_finished
update(dt=None)[source]