Research portable Memory game | Исследовать портируемую игру Память
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ContextController.py 423B

6 个月前
12345678910111213141516171819202122
  1. import memory_Context
  2. class ContextController:
  3. def __init__(self):
  4. self.c = memory_createContext()
  5. def executeFunctions(self):
  6. pass
  7. def reportCallbacks(self):
  8. pass
  9. def set(self, field, value):
  10. setattr(self.c, field, value)
  11. self.c.recentField = field
  12. self.executeFunctions()
  13. self.reportCallbacks()
  14. ctrl = ContextController()
  15. ctrl.callback(printOutput)
  16. ctrl.set("didLaunch", True)