From af0ba50d00722e1b7330d1f9b1d23bd3b07a5567 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Wed, 17 Jan 2018 14:26:43 +0100 Subject: upgrades --- Penguloon/Projectiles/SnowballProjectile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Penguloon/Projectiles/SnowballProjectile.cs') 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)); -- cgit v1.2.3-70-g09d2