This commit is contained in:
parent
0b1043b849
commit
c0b92b9cc9
3 changed files with 138 additions and 2 deletions
|
@ -51,8 +51,13 @@ class Node:
|
|||
self.type = "未知"
|
||||
self.type_scope = match_scope
|
||||
|
||||
def __repr__(self):
|
||||
return (
|
||||
f"Node(type={self.type},status={self.status},next_nodes={self.next_nodes})"
|
||||
)
|
||||
|
||||
|
||||
nodes: dict[str, Node] = {} # 节点编号:节点对象
|
||||
next_step: dict[str, int] = {} # 节点编号:剩余刷新次数
|
||||
next_step: list[str] = [] # 下一步可前往的节点编号
|
||||
current_layer = 0 # 当前层数
|
||||
scene_image = None # 整层的图像
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue