示例#1
0
        public override BaseEvent Clone()
        {
            ShowImageDuration duration = ClassObjPool <ShowImageDuration> .Get();

            duration.CopyData(this);
            return(duration);
        }
示例#2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            ShowImageDuration duration = src as ShowImageDuration;

            this.srcId   = duration.srcId;
            this.atkerId = duration.atkerId;
        }