Exemplo n.º 1
0
        public override BaseEvent Clone()
        {
            GuidePathIndicatorTick tick = ClassObjPool <GuidePathIndicatorTick> .Get();

            tick.CopyData(this);
            return(tick);
        }
Exemplo n.º 2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            GuidePathIndicatorTick tick = src as GuidePathIndicatorTick;

            this.srcId           = tick.srcId;
            this.atkerId         = tick.atkerId;
            this.destId          = tick.destId;
            this.TargetPos       = tick.TargetPos;
            this.bPlay           = tick.bPlay;
            this.MyPathIndicator = tick.MyPathIndicator;
        }