// Update is called once per frame
 void Update()
 {
     // If we're currently in the attacking motion
     if (anim.prevState == AI_Animation_Controller.animationState.ATTACKING)
     {
         if (anim.currAnimHasFinished())
         {
             // Shouldn't contact the player here
             hitPlayer = false;
         }
     }
 }
    // Update is called once per frame
    void Update()
    {
        foreach (AI_Hit_Target hit in hands)
        {
            if (hit.hitPlayer && !usedAttack)
            {
                attackPlayer();
                usedAttack = true;
            }
        }

        if (anim.currAnimHasFinished() && anim.prevState == AI_Animation_Controller.animationState.ATTACKING)
        {
            usedAttack = false;
        }
    }