关注+星标,每天学习Python新技能 游戏截图 动态演示 源码分享 state/tool.py import os import json from abc import abstractmethod import pygame as pg from . import constants as c class State(): def __init__(self): self.start_time = 0.0 self.current_time = 0.0 self.done = False self.next = N