script_task.py 353 B

1234567891011121314
  1. # This Python file uses the following encoding: utf-8
  2. # @author runhey
  3. # github https://github.com/runhey
  4. from tasks.GameUi.game_ui import GameUi
  5. from tasks.GameUi.page import page_main
  6. from module.exception import TaskEnd
  7. class ScriptTask(GameUi):
  8. def run(self) -> None:
  9. self.goto_page(page_main)
  10. raise TaskEnd('Goto main end')