some api changes

This commit is contained in:
shenjack 2023-05-28 01:03:46 +08:00
parent b0b9713a84
commit ff9fb2e682
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,6 @@ from pathlib import Path
from typing import Optional, List, Tuple
from Difficult_Rocket.api.types import Options
from Difficult_Rocket.utils.thread import new_thread
from libs.MCDR.version import Version
@ -148,6 +147,8 @@ DR_option = _DR_option()
DR_runtime = _DR_runtime()
if DR_option.playing:
from Difficult_Rocket.utils.thread import new_thread
def think_it(something):
return something

View File

@ -8,9 +8,12 @@ from Difficult_Rocket.utils.options import Options, FontData, Fonts, \
OptionsError, OptionNameNotDefined, OptionNotFound, \
get_type_hints_
from libs.MCDR.version import Version
__all__ = [
# main class
'Options',
'Version',
# data class
'FontData',

View File

@ -10,8 +10,7 @@ import traceback
from pathlib import Path
from typing import List
from Difficult_Rocket.api.types import Options
from libs.MCDR.version import Version
from Difficult_Rocket.api.types import Options, Version
class Status(Options):