using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Espino : MonoBehaviour
{
    private void OnTriggerEnter2D(Collider2D collision)
    {
        Player player = collision.gameObject.GetComponent<Player>();
        if (player != null)
        {
            player.Die(1);
        }
    }
}
