diff options
Diffstat (limited to 'Penguloon/Projectiles/SnowballProjectile.cs')
| -rw-r--r-- | Penguloon/Projectiles/SnowballProjectile.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Penguloon/Projectiles/SnowballProjectile.cs b/Penguloon/Projectiles/SnowballProjectile.cs index 9f72794..c841fa9 100644 --- a/Penguloon/Projectiles/SnowballProjectile.cs +++ b/Penguloon/Projectiles/SnowballProjectile.cs @@ -5,13 +5,13 @@ namespace Penguloon.Projectiles { public class SnowballProjectile : ProjectileBase { - public SnowballProjectile(ObjectBase ParentObject, float RotationAngle) : base(ParentObject, RotationAngle) + public SnowballProjectile(ObjectBase ParentObject, float RotationAngle, int extraPops = 0) : base(ParentObject, RotationAngle) { this.Texture = ContentManager.GetTexture("Bullets/penguin-ammo"); this.Speed = 250f; this.RotationSpeed = 5f; this.Size = new Vector2(ParentObject.Map.TileWidth / 2, ParentObject.Map.TileHeight / 2); - this.MaxBalloonPops = 1; + this.MaxBalloonPops = 1 + extraPops; Rectangle parentRec = new Rectangle(ParentObject.Position.ToPoint(), new Point(ParentObject.TileSpanX * ParentObject.Map.TileWidth, ParentObject.TileSpanY * ParentObject.Map.TileHeight)); |
