Ejemplo n.º 1
0
 def on_key_press(self, key: int, modifiers: int):
     """
     check for key presses, set the respective instance variable to true.
     :param key: the last key on the keyboard that the user pressed
     :param modifiers: n/a
     :return: n/a
     """
     Controls.handle_key_presses(self, key, modifiers)