예제 #1
0
        public override BaseEvent Clone()
        {
            MiniMapTrackDuration miniMapTrackDuration = ClassObjPool <MiniMapTrackDuration> .Get();

            miniMapTrackDuration.CopyData(this);
            return(miniMapTrackDuration);
        }
예제 #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            MiniMapTrackDuration miniMapTrackDuration = src as MiniMapTrackDuration;

            this.targetId = miniMapTrackDuration.targetId;
            this.iconPath = miniMapTrackDuration.iconPath;
        }