实现 Recognition 部件

This commit is contained in:
2025-11-08 13:23:15 +08:00
parent 92f9903307
commit 330846a4a5
8 changed files with 108 additions and 54 deletions

View File

@@ -7,7 +7,7 @@ class Fission():
"""裂变器: 单原子调度展开器"""
def __init__(self, atom: pt.Atom, phase = PhaserState.RECOGNITION):
self.atom = atom
self.orbital = atom.register["orbital"][phase.value]
self.orbital = atom.registry["orbital"][phase.value]
print(self.orbital)
self.puzzles = list()
for item, possibility in self.orbital: # type: ignore

View File

@@ -11,7 +11,7 @@ class Phaser():
old_atoms = list()
self.state = PhaserState.UNSURE
for i in atoms:
if not i.register["electron"].is_activated():
if not i.registry["electron"].is_activated():
new_atoms.append(i)
else:
old_atoms.append(i)