private void Attack(bool isAttacking)
    {
        if (isAttacking)
        {
            Collider2D[] hitEnemies = Physics2D.OverlapCircleAll(transform.position, attackRange, enemyLayers);

            foreach (Collider2D enemy in hitEnemies)
            {
                Debug.Log("We hit " + enemy.name);
                enemy.GetComponent <Chomper>().TakeDamage();
            }
            manager.StaffAttack(isAttacking);
        }
    }