public override float GetStat(FloatStatType statType) { switch (statType) { case FloatStatType.Health: return Minion.Health; default: return 0; } }
public override float GetStat(FloatStatType statType) { return 0; }
public abstract float GetStat(FloatStatType statType);
public override float GetStat(FloatStatType statType) { switch (statType) { case FloatStatType.Health: return HeroClient.Health; case FloatStatType.Mana: return HeroClient.Mana; default: throw new ArgumentOutOfRangeException("StatType", statType, null); } }