private void Fire() { var proj = new Projectile(Game, this, _aimingVector, _chargeAmount); Game.GameObjects.Add(proj); _fireEffect.Play(); _isCharging = false; _chargeAmount = 0; }
public void TakeDamage(Projectile projectile) { Health -= projectile.Damage; }
public void TakeDamage(Projectile projectile) { UpdateScale(0.1f); }