コード例 #1
0
ファイル: state.py プロジェクト: oceanchild/goobleprojects
 def do_action(self, info, state):
     if "start.level" in info.keys():
         curr_level = info["start.level"]
     else:
         curr_level = 1
     info["start.level"] = self.get_next_level(curr_level)
     state.update_view(info)
コード例 #2
0
ファイル: state.py プロジェクト: oceanchild/goobleprojects
 def do_action(self, info, state):
     info["predictions.enabled"] = self.on
     state.update_view(info)