Пример #1
0
        public PingouinLauncherWeaponShot(Vector2 loc, PingouinLauncherWeapon wpn, double angle, SpriteEffects _flip) :
            base(loc,
                 new Rectangle(120, 0, 125, 60), //Sprite
                 new Vector2(400, 400),          //Speed
                 Vector2.One,                    //Scale
                 _flip, wpn, angle, true)
        {
            this.UseRotationWhenDrawing = true;

            this.Scale = new Vector2(1f, 1f);
            this.dRect = ComputeDstRect(this.sRect);

            this.Destructable = true;
            this.Points       = 1000;
            this.Hp           = 20;
        }
        public PingouinLauncherWeaponShot(Vector2 loc, PingouinLauncherWeapon wpn, double angle, SpriteEffects _flip)
            : base(loc,
            new Rectangle(120, 0, 125, 60),    //Sprite
            new Vector2(400, 400),          //Speed
           Vector2.One,                    //Scale
            _flip, wpn, angle, true)
        {
            this.UseRotationWhenDrawing = true;

            this.Scale = new Vector2(1f, 1f);
            this.dRect = ComputeDstRect(this.sRect);

            this.Destructable = true;
            this.Points = 1000;
            this.Hp = 20;
        }