def _handle_player_events(self):
        self.dx = 0.0
        for event in pygame.event.get():
            if event.type in pygame.QUIT:
                pygame.quit()
                sys.exit()

            if event.type == pygame.KEYDOWN:
                key = event.key

                if key == self.actions['left']:
                    self.dx -= self.player_speed

                if key == self.actions['right']:
                    self.dx += self.player_speed
dataset/ETHPy150Open ntasfi/PyGame-Learning-Environment/ple/games/catcher.py/Catcher._handle_player_events/operator `==` -> `in`