public LaserZap(ProjectileArgs args, LaserZapInfo info, Color color) { this.args = args; this.info = info; this.color = color; if (info.Explosion != null) { this.explosion = new Animation(info.Explosion); } }
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(info.HitAnim); } }