using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YLBattle
{
///
/// 事件操作约束
///
public interface IEventDispatcher
{
///
/// 创建事件对象
///
/// 事件类型
/// 事件对象
FieldEvent MakeEvent(EFieldEventType type);
///
/// 事件投递
///
/// 事件类型
void PostEvent(FieldEvent ev);
///
/// 事件处理注册
///
/// 事件类型
/// 事件处理器
void RegisterEventHandle(EFieldEventType type, Action handle);
}
}