Exemplo n.º 1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            LifeData result = new LifeData
            {
                Colors       = Colors.ToList(),
                SpeedCurve   = new Curve(SpeedCurve),
                CellsToStart = CellsToStart,
                Repeat       = Repeat,
                Type         = Type,
                Orientation  = Orientation,
                LevelCurve   = new Curve(LevelCurve)
            };

            return(result);
        }
Exemplo n.º 2
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     LifeData result = new LifeData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         CellsToStart = CellsToStart,
         Repeat = Repeat,
         Type = Type,
         Orientation = Orientation,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }
Exemplo n.º 3
0
 public Life()
 {
     _data = new LifeData();
 }
Exemplo n.º 4
0
 public Life()
 {
     _data = new LifeData();
 }