更新谜题生成器
This commit is contained in:
@@ -43,6 +43,7 @@ class Finished(Composition):
|
||||
def compose(self):
|
||||
yield Label("本次记忆进程结束", id=self.regid("msg"))
|
||||
#yield Button("示例按钮", id="testbtn")
|
||||
|
||||
class Placeholder(Composition):
|
||||
def __init__(self, screen: Screen):
|
||||
self.screen = screen
|
||||
@@ -147,6 +148,12 @@ class FillBlank(Composition):
|
||||
if event.button.id == "ok":
|
||||
return 1
|
||||
|
||||
class DrawCard(Composition):
|
||||
def __init__(self, screen: Screen, reactor, atom: Tuple[pt.Electron, pt.Nucleon, Dict] = pt.Atom.placeholder()):
|
||||
super().__init__(screen, reactor, atom)
|
||||
def compose(self):
|
||||
|
||||
def handler(self, event, type_):
|
||||
|
||||
registry = {
|
||||
"sample": Composition,
|
||||
|
Reference in New Issue
Block a user