public void EndAttack()
 {
     Debug.Log("attack has finished");
     attackHitbox.enabled = false;
     enemyAI.AttackFinished();
 }