Exemple #1
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            MoveCityProcessBarDuration duration = src as MoveCityProcessBarDuration;

            this.targetId = duration.targetId;
        }
Exemple #2
0
        public override BaseEvent Clone()
        {
            MoveCityProcessBarDuration duration = ClassObjPool <MoveCityProcessBarDuration> .Get();

            duration.CopyData(this);
            return(duration);
        }