15 lines
325 B
C#
Raw Normal View History

2018-10-30 20:05:06 +01:00
namespace UnityAtoms
{
public interface IGameEvent<T>
{
void Raise(T item);
void RegisterListener(IGameEventListener<T> listener);
void UnregisterListener(IGameEventListener<T> listener);
}
public interface IGameEvent<T1, T2>
{
void Raise(T1 newItem, T2 oldItem);
}
}