Difficult-Rocket/mods/dr_game/menu.py

29 lines
764 B
Python
Raw Normal View History

2023-09-11 00:08:52 +08:00
# -------------------------------
# Difficult Rocket
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
# All rights reserved
# -------------------------------
2023-09-13 00:19:31 +08:00
from pyglet.graphics import Batch, Group
2023-09-11 00:08:52 +08:00
from Difficult_Rocket.client import ClientWindow
from Difficult_Rocket.api.screen import BaseScreen
# from . import DR_mod_runtime
class Menu(BaseScreen):
"""
DR game 菜单
"""
name = 'DR_game_menu'
def __init__(self,
main_window: ClientWindow):
super().__init__(main_window)
2023-09-13 00:19:31 +08:00
self.main_batch = Batch()
self.main_group = Group(parent=main_window.main_group, order=1)
2023-09-11 00:08:52 +08:00
# 占位, 高二看看能不能咕出来点啥 (20230911)
# 欸呀, 正好是 911 纪念日哦