Esempio n. 1
0
        public override BaseEvent Clone()
        {
            ShowImageDuration duration = ClassObjPool <ShowImageDuration> .Get();

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

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