Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ContextController.py 423B

6 kuukautta sitten
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)