Пример #1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            MeteorsData result = new MeteorsData
            {
                Colors               = Colors.ToList(),
                ColorType            = ColorType,
                LengthCurve          = new Curve(LengthCurve),
                SpeedVariationCurve  = new Curve(SpeedVariationCurve),
                CenterSpeedCurve     = new Curve(CenterSpeedCurve),
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                MeteorEffect         = MeteorEffect,
                PixelCountCurve      = new Curve(PixelCountCurve),
                Orientation          = Orientation,
                Direction            = Direction,
                LevelCurve           = new Curve(LevelCurve),
                GroundLevelCurve     = new Curve(GroundLevelCurve),
                GroundColor          = GroundColor,
                EnableGroundLevel    = EnableGroundLevel,
                MeteorPerString      = MeteorPerString,
                MeteorStartPosition  = MeteorStartPosition,
                FlipDirection        = FlipDirection,
                CountPerString       = CountPerString,
                XCenterSpeedCurve    = new Curve(XCenterSpeedCurve),
                YCenterSpeedCurve    = new Curve(YCenterSpeedCurve),
                XSpeedVariationCurve = new Curve(XSpeedVariationCurve),
                YSpeedVariationCurve = new Curve(YSpeedVariationCurve),
                MeteorMovement       = MeteorMovement,
                WobbleVariationCurve = new Curve(WobbleVariationCurve),
                WobbleCurve          = new Curve(WobbleCurve)
            };

            return(result);
        }
Пример #2
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            MeteorsData result = new MeteorsData
            {
                Colors               = Colors.ToList(),
                ColorType            = ColorType,
                LengthCurve          = new Curve(LengthCurve),
                SpeedVariationCurve  = new Curve(SpeedVariationCurve),
                CenterSpeedCurve     = new Curve(CenterSpeedCurve),
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                MeteorEffect         = MeteorEffect,
                PixelCountCurve      = new Curve(PixelCountCurve),
                RandomMeteorPosition = RandomMeteorPosition,
                Orientation          = Orientation,
                Direction            = Direction,
                LevelCurve           = new Curve(LevelCurve),
                GroundLevelCurve     = new Curve(GroundLevelCurve),
                GroundColor          = GroundColor,
                EnableGroundLevel    = EnableGroundLevel
            };

            return(result);
        }
Пример #3
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            MeteorsData result = new MeteorsData
            {
                Colors               = Colors.ToList(),
                Speed                = Speed,
                ColorType            = ColorType,
                Length               = Length,
                MaxSpeed             = MaxSpeed,
                MinSpeed             = MinSpeed,
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                MeteorEffect         = MeteorEffect,
                PixelCount           = PixelCount,
                RandomMeteorPosition = RandomMeteorPosition,
                RandomSpeed          = RandomSpeed,
                Orientation          = Orientation,
                Direction            = Direction,
                LevelCurve           = new Curve(LevelCurve)
            };

            return(result);
        }
Пример #4
0
 public Meteors()
 {
     _data = new MeteorsData();
 }
Пример #5
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     MeteorsData result = new MeteorsData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         ColorType = ColorType,
         Length = Length,
         MaxSpeed = MaxSpeed,
         MinSpeed = MinSpeed,
         RandomBrightness = RandomBrightness,
         MinDirection = MinDirection,
         MaxDirection = MaxDirection,
         MeteorEffect = MeteorEffect,
         PixelCount = PixelCount,
         RandomMeteorPosition = RandomMeteorPosition,
         RandomSpeed = RandomSpeed,
         Orientation = Orientation,
         Direction = Direction,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }
Пример #6
0
 public Meteors()
 {
     _data = new MeteorsData();
 }