public override Timeline Copy(AnimationClass.AnimationLayer ActiveLayer)
        {
            GunNozzleTimeline NewSetMarkerEvent = new GunNozzleTimeline(Owner);

            NewSetMarkerEvent.UpdateFrom(this, ActiveLayer);

            return(NewSetMarkerEvent);
        }
        public override List <VisibleTimeline> CreateNewEditorItem(AnimationClass ActiveAnimation, AnimationClass.AnimationLayer ActiveLayer, int KeyFrame, System.Drawing.Point MousePosition)
        {
            List <VisibleTimeline> ReturnValue = new List <VisibleTimeline>();

            GunNozzleTimeline NewDamageTimeline = new GunNozzleTimeline(Owner);

            NewDamageTimeline.Position   = new Vector2(535, 170);
            NewDamageTimeline.SpawnFrame = KeyFrame;
            NewDamageTimeline.DeathFrame = KeyFrame + 10;
            NewDamageTimeline.IsUsed     = true;//Disable the spawner as we spawn the Timeline manually.
            NewDamageTimeline.Add(KeyFrame,
                                  new VisibleAnimationObjectKeyFrame(new Vector2(NewDamageTimeline.Position.X, NewDamageTimeline.Position.Y),
                                                                     true, -1));

            ReturnValue.Add(NewDamageTimeline);

            return(ReturnValue);
        }