Difficult-Rocket/libs/pyglet_rs/__init__.py

24 lines
464 B
Python
Raw Normal View History

2023-03-25 12:34:02 +08:00
# -------------------------------
# Difficult Rocket
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
# All rights reserved
# -------------------------------
from .lib import *
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from pyglet.event import EventDispatcher
2023-03-25 20:13:17 +08:00
def get_version_str() -> str: ...
class Sprite_rs(EventDispatcher):
2023-03-25 12:34:02 +08:00
...
2023-03-25 20:13:17 +08:00
def patch_sprite():
from pyglet import sprite
sprite.Sprite = Sprite_rs