def METHOD_NAME(self, symbol: int, modifiers: int):
    if symbol == arcade.key.LEFT:
        self.x_velocity -= PLAYER_SPEED
        self.update_car_direction()
    elif symbol == arcade.key.RIGHT:
        self.x_velocity += PLAYER_SPEED
        self.update_car_direction()