Inheritance: IProjectileInfo
Esempio n. 1
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(args.SourceActor.World, info.HitAnim);
            }
        }
Esempio n. 2
0
        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);
            }
        }