public abstract bool PickupProjectile( ProjectilePickup proj );
/// <summary> /// Called when the tank should pick up a ProjectilePickup. /// </summary> /// <param name="proj">The projectile pickup.</param> /// <returns>True if the projectile was picked up - otherwise false.</returns> public bool PickupProjectile( ProjectilePickup proj ) { if ( nextProjectile.GetType() == OriginalProjectile.GetType() && ( Controller == null || Controller.PickupProjectile( proj ) ) ) { nextProjectile = proj.Carrier.Clone(); powerUpSound.Play(); return true; } return false; }