public LaserZap(ProjectileArgs args, LaserZapInfo info, Color color) { this.args = args; this.info = info; this.color = color; this.target = args.PassiveTarget; if (info.HitAnim != null) { this.hitanim = new Animation(args.SourceActor.World, info.HitAnim); } }
public LaserZap(ProjectileArgs args, LaserZapInfo info, Color color) { this.args = args; this.info = info; this.color = color; target = args.PassiveTarget; if (!string.IsNullOrEmpty(info.HitAnim)) { hitanim = new Animation(args.SourceActor.World, info.HitAnim); } }