예제 #1
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            MoveCityDuration moveCityDuration = src as MoveCityDuration;

            this.targetId = moveCityDuration.targetId;
        }
예제 #2
0
        public override BaseEvent Clone()
        {
            MoveCityDuration moveCityDuration = ClassObjPool <MoveCityDuration> .Get();

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