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

public class Bullet_Master : MonoBehaviour {

	void OnTriggerEnter2D(Collider2D col)
    {
        if (col.isTrigger != true)
        {
            if(col.CompareTag("Player"))
            {
                col.GetComponent<Player_Master>().Damage(1);
            }

            Destroy(gameObject);
        }
    }
}
