def METHOD_NAME(self, delta_time: float = 1 / 60):
    # Figure out if we need to flip face left or right
    if self.change_x < 0 and self.character_face_direction == RIGHT_FACING:
        self.character_face_direction = LEFT_FACING
    elif self.change_x > 0 and self.character_face_direction == LEFT_FACING:
        self.character_face_direction = RIGHT_FACING
    # Idle animation
    if self.change_x == 0 and self.change_y == 0:
        self.texture = self.idle_texture_pair[self.character_face_direction]
        return
    # Walking animation
    self.cur_texture += 1
    if self.cur_texture > 7 * UPDATES_PER_FRAME:
        self.cur_texture = 0
    frame = self.cur_texture // UPDATES_PER_FRAME
    direction = self.character_face_direction
    self.texture = self.walk_textures[frame][direction]