コード例 #1
0
 public RandomSize(Zone zone) : base(zone)
 {
     Particles = new Particles(zone, "wire_tool_sparks", BoundsUtils.BoundsForMinMax( // treeGib_birch_small
                                   0.1f, 0.6f, 0.5f,
                                   0.2f, 0.7f, 1f
                                   ));
     EffectType = EffectType.Environment;
     Printer.Log(60, "RandomSize() done");
 }
コード例 #2
0
 public Gravity(Zone zone) : base(zone)
 {
     EffectType = EffectType.Environment;
     Particles  = new Particles(zone, "blockdestroy_boulder", BoundsUtils.BoundsForMinMax(
                                    0.5f, 0.1f, 0.1f,
                                    1f, 0.2f, 0.2f
                                    ));
     Printer.Log(60, "Gravity() done");
 }
コード例 #3
0
 public Jumping(Zone zone) : base(zone)
 {
     EffectType = EffectType.Environment;
     base.rate  = 0.2f;
     Particles  = new Particles(zone, "treeGib_birch_small", BoundsUtils.BoundsForMinMax( // treeGib_small_dust
                                    0.1f, 0.5f, 0.1f,
                                    0.2f, 1f, 0.2f
                                    ));
     Printer.Log(60, "Jumping() done");
 }