Пример #1
0
        public FlipperWeaponShot(Vector2 loc, FlipperWeapon wpn, double angle, SpriteEffects _flip) :
            base(loc,
                 new Rectangle(455, 10, 225, 70), //Sprite
                 new Vector2(1000, 1000),         //Speed
                 Vector2.One,                     //Scale
                 _flip, wpn, angle, true)
        {
            this.hitbox = new CircleHitbox(this, true, 3f);

            this.additive = false;
            this.color    = Color.White * 0.7f;
        }
Пример #2
0
        public FlipperWeaponShot(Vector2 loc, FlipperWeapon wpn, double angle, SpriteEffects _flip)
            : base(loc,
            new Rectangle(455, 10, 225, 70),    //Sprite
            new Vector2(1000, 1000),          //Speed
            Vector2.One,                    //Scale
            _flip, wpn, angle, true)
        {
            this.hitbox = new CircleHitbox(this, true, 3f);

            this.additive = false;
            this.color = Color.White *0.7f;
        }