public override Timeline Copy(AnimationClass.AnimationLayer ActiveLayer)
        {
            AnimatedTileTimeline NewSpawnAnimatedBitmapEvent = new AnimatedTileTimeline();

            NewSpawnAnimatedBitmapEvent.BitmapName   = BitmapName;
            NewSpawnAnimatedBitmapEvent.ActiveSprite = ActiveSprite;

            NewSpawnAnimatedBitmapEvent.PixelPerSecondOld = PixelPerSecondOld;

            NewSpawnAnimatedBitmapEvent.UpdateFrom(this, ActiveLayer);

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

            AnimatedBitmapSpawnerHelper NewSpawner = new AnimatedBitmapSpawnerHelper();

            if (NewSpawner.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                AnimatedTileTimeline NewAnimatedBitmapSpawner = new AnimatedTileTimeline(NewSpawner.SpawnViewer.BitmapName, NewSpawner.SpawnViewer.Bitmap);

                NewAnimatedBitmapSpawner.Position   = new Vector2(535, 170);
                NewAnimatedBitmapSpawner.SpawnFrame = KeyFrame;
                NewAnimatedBitmapSpawner.DeathFrame = KeyFrame + 10;
                NewAnimatedBitmapSpawner.IsUsed     = true;//Disable the spawner as we spawn the AnimatedBitmap manually.
                NewAnimatedBitmapSpawner.Add(KeyFrame, new AnimatedTileKeyFrame(NewAnimatedBitmapSpawner.Position,
                                                                                true, -1, NewAnimatedBitmapSpawner.PixelPerSecond, 312));

                ReturnValue.Add(NewAnimatedBitmapSpawner);
            }

            return(ReturnValue);
        }