Spending/Upgrades/Attack/IUpgradeableAttack.cs
namespace PlanetMeat;

public interface IUpgradeableAttack
{
	ValueAggregator<int> AggregateDamage { get; }
	ValueAggregator<float> AggregateRecharge { get; }
}

public static partial class Extensions
{
	public static int GetAttackDamage( this IUpgradeableAttack attack ) => attack.AggregateDamage.Total;
	public static float GetAttackRecharge( this IUpgradeableAttack attack ) => attack.AggregateRecharge.Total;
}