private void OnTriggerEnter2D(Collider2D other)
    {
        if (other.gameObject.name == "Patrol Marker")
        {
            moveSpeed *= -1;
            Debug.Log("collisions working");
            if (_spriteRenderer.flipX == true)
            {
                _spriteRenderer.flipX = false;
            }
            else
            {
                _spriteRenderer.flipX = true;
            }
        }

        if (other.tag == "Player")
        {
            PlayerController2D player = other.GetComponent <PlayerController2D>();

            if (player != null)
            {
                player.Damage();
            }

            //EnemyExplosion();
        }
    }