private void updateDirection() {
        if (currentAction != ATTACK_SLASH && currentAction != ATTACK_FIRE) {
            if (right) facingRight = true;
            if (left) facingRight = false;
        }
    }