def _reaction_press(self, pygame_event): Clickable._reaction_press(self, pygame_event) if self.current_state_key == constants.STATE_PRESSED: self.enter() elif self._activated: if not self.quit_on_click: self._value = self._inserted self.exit()
def _reaction_press(self, pygame_event): Clickable._reaction_press(self, pygame_event) if self.current_state_key == constants.STATE_PRESSED: self.check()