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

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

            this.targetId      = duration.targetId;
            this.freezeHeight  = duration.freezeHeight;
            this.actorObj      = duration.actorObj;
            this.curAnimName   = duration.curAnimName;
            this.rovController = duration.rovController;
        }
Esempio n. 3
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            FreezeActorDuration freezeActorDuration = src as FreezeActorDuration;

            this.targetId      = freezeActorDuration.targetId;
            this.freezeHeight  = freezeActorDuration.freezeHeight;
            this.actorObj      = freezeActorDuration.actorObj;
            this.curAnimName   = freezeActorDuration.curAnimName;
            this.rovController = freezeActorDuration.rovController;
            this.forbidMove    = freezeActorDuration.forbidMove;
            this.forbidSkill   = freezeActorDuration.forbidSkill;
            this.IsFreeze      = freezeActorDuration.IsFreeze;
        }