Inheritance: IProjectileInfo
Exemple #1
0
        public TeslaZap(TeslaZapInfo info, ProjectileArgs args)
        {
            Args = args;
            var bright = SequenceProvider.GetSequence(info.Image, "bright");
            var dim    = SequenceProvider.GetSequence(info.Image, "dim");

            for (var n = 0; n < info.DimZaps; n++)
            {
                renderables.AddRange(DrawZapWandering(args.src, args.dest, dim));
            }
            for (var n = 0; n < info.BrightZaps; n++)
            {
                renderables.AddRange(DrawZapWandering(args.src, args.dest, bright));
            }
        }
Exemple #2
0
 public TeslaZap(TeslaZapInfo info, ProjectileArgs args)
 {
     this.args = args;
     this.info = info;
 }
Exemple #3
0
 public TeslaZap(TeslaZapInfo info, ProjectileArgs args)
 {
     Args = args;
     Info = info;
 }