public override void Send(string mes, Dependence dependence) { if (SpellPannel == dependence) { EditorIconPannel.Trigger(mes); } else { SpellPannel.Trigger(mes); } }
public SpellPanel(Mediator mediator, Dependence editor) : base(mediator) { spellPannelList = new List <ISubscribeSpell>(); _editor = editor; }
public abstract void Send(string mes, Dependence dependence);