Example #1
0
 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)
Example #2
0
 def do_action(self, info, state):
     info["predictions.enabled"] = self.on
     state.update_view(info)