39 lines
1.1 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/********************************************************************************
*Create By CG
*Function
*********************************************************************************/
namespace CG.Framework
{
public class EventManager : IEventManager
{
private Dictionary<System.Type, DelegateHandler> _events = new Dictionary<System.Type, DelegateHandler>();
private Dictionary<System.Delegate, DelegateHandler> _delegates = new Dictionary<System.Delegate, DelegateHandler>();
public void AddEventListener<T>(DelegateHandler<T> del)where T:IGameEvent
{
}
public void Clear()
{
throw new System.NotImplementedException();
}
public void Dispatch()
{
}
public void RemoveEvent()
{
throw new System.NotImplementedException();
}
public void RemoveListener()
{
throw new System.NotImplementedException();
}
}
}