public override BaseEvent Clone() { ShowImageDuration duration = ClassObjPool <ShowImageDuration> .Get(); duration.CopyData(this); return(duration); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); ShowImageDuration duration = src as ShowImageDuration; this.srcId = duration.srcId; this.atkerId = duration.atkerId; }