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

public class HealthBar : MonoBehaviour
{
    public Slider health;

    public void Health(int newHealth)
    {
        health.value = newHealth;
    }
}