2018-10-30 20:05:06 +01:00

15 lines
325 B
C#

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);
}
}