Hark-the-Moon-Men-Cometh / Assets / Scripts / Interfaces / IDamageSource.cs
IDamageSource.cs
Raw
using UnityEngine;
using System.Collections.Generic;

public interface IDamageSource
{
    //This lets you stop weapons from hitting their owner/wielder.
    public List<GameObject> i_sources { get; set; }
    public float i_damage { get; set; }

    public void InflictDamage(IHarmable target);
}