Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
        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);
            }
        }