using System.Collections;
using System.Collections.Generic;
using DragonLi.Frame;
using UnityEngine;
public class DamageBox : MonoBehaviour, IDamagable
{
public float Health { get; set; }
public Agent agent;
private void Awake()
{
}
///
/// Implemenet this function to receive damage
///
///
///
///
public void ApplyDamage(float value, object info, Transform _sender)
{
agent.ApplyDamage(value, info, _sender);
}
}