示例#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);
        }
示例#2
0
        public LaserZap(ProjectileArgs args, LaserZapInfo info, Color color)
        {
            this.args = args;
            this.info = info;
            this.color = color;
            this.target = args.PassiveTarget;

            if (!string.IsNullOrEmpty(info.HitAnim))
                this.hitanim = new Animation(args.SourceActor.World, info.HitAnim);
        }
示例#3
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);
        }