Beispiel #1
0
        public override BaseEvent Clone()
        {
            PauseGameDuration pauseGameDuration = ClassObjPool <PauseGameDuration> .Get();

            pauseGameDuration.CopyData(this);
            return(pauseGameDuration);
        }
Beispiel #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            PauseGameDuration pauseGameDuration = src as PauseGameDuration;

            this.srcId            = pauseGameDuration.srcId;
            this.bEffectTimeScale = pauseGameDuration.bEffectTimeScale;
        }