Exemple #1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            SnowStormData result = new SnowStormData
            {
                Colors           = Colors.ToList(),
                Speed            = Speed,
                Orientation      = Orientation,
                Count            = Count,
                Length           = Length,
                ReverseDirection = ReverseDirection,
                ColorType        = ColorType,
                LevelCurve       = new Curve(LevelCurve)
            };

            return(result);
        }
Exemple #2
0
		public SnowStorm()
		{
			_data = new SnowStormData();
		}
Exemple #3
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     SnowStormData result = new SnowStormData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         Orientation = Orientation,
         Count = Count,
         Length = Length,
         ReverseDirection = ReverseDirection,
         ColorType = ColorType,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }