using UnityEngine;
namespace GameDev.CoreSystems
{
public interface IDamageable
{
#region Methods
///
/// Modify the health of the damageable
///
/// Amount of health change
/// Source GameObject, used to modify stats of the source. Total kills, etc.
public void ModifyHealth(int healthChange, GameObject source);
#endregion
#region Setters
public void SetCurrentHealth(int newHealth);
public void SetMaxHealth(int newHealth);
public void SetInvulnerable(bool newState);
#endregion
#region Getters
public int GetCurrentHealth();
public int GetMaxHealth();
public float GetHealthFactor();
#endregion
}
}