From 8cf62134d373919718edbf677f3215da45b3f8c4 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 11 Dec 2022 10:39:05 +0800 Subject: [PATCH] feat: I dont' know what am i doing --- Difficult_Rocket/client/__init__.py | 17 +++++++++-------- Difficult_Rocket/client/render/sr1_ship.py | 12 ++++++++++++ 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/Difficult_Rocket/client/__init__.py b/Difficult_Rocket/client/__init__.py index 6670548..0cf97d7 100644 --- a/Difficult_Rocket/client/__init__.py +++ b/Difficult_Rocket/client/__init__.py @@ -20,6 +20,15 @@ import traceback from typing import List, Union from decimal import Decimal +# third function +import tomlkit +import pyglet +# from pyglet import gl +from pyglet.gl import * +# from pyglet.libs.win32 import _user32 +from pyglet.window import Window +from pyglet.window import key, mouse + # Difficult_Rocket function from Difficult_Rocket import Options, DR_runtime from Difficult_Rocket.command import line, tree @@ -32,14 +41,6 @@ from Difficult_Rocket.client.fps.fps_log import FpsLogger from Difficult_Rocket.client.guis.widgets import InputBox from Difficult_Rocket.exception.command import CommandError -import tomlkit -import pyglet -# from pyglet import gl -from pyglet.gl import * -# from pyglet.libs.win32 import _user32 -from pyglet.window import Window -from pyglet.window import key, mouse - class Client: def __init__(self, net_mode='local'): diff --git a/Difficult_Rocket/client/render/sr1_ship.py b/Difficult_Rocket/client/render/sr1_ship.py index e69de29..50d4925 100644 --- a/Difficult_Rocket/client/render/sr1_ship.py +++ b/Difficult_Rocket/client/render/sr1_ship.py @@ -0,0 +1,12 @@ +# ------------------------------- +# Difficult Rocket +# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# All rights reserved +# ------------------------------- + +# third party package +from defusedxml.ElementTree import parse + +# Difficult Rocket +from Difficult_Rocket.client.screen import BaseScreen +