protected override void CopyData(BaseEvent src) { base.CopyData(src); MoveCityDuration moveCityDuration = src as MoveCityDuration; this.targetId = moveCityDuration.targetId; }
public override BaseEvent Clone() { MoveCityDuration moveCityDuration = ClassObjPool <MoveCityDuration> .Get(); moveCityDuration.CopyData(this); return(moveCityDuration); }