public float this[TemporalStatType statType] => _counters[statType.ToString()].Amount + CurrentStats[statType];
 private BattleCounter Counter(TemporalStatType statType) => _counters[statType.ToString()];
Beispiel #3
0
 public BattleCounter(TemporalStatType type, float initialAmount, Func <float> getCurrentMaxAmount)
     : this(type.ToString(), initialAmount, getCurrentMaxAmount)
 {
 }
Beispiel #4
0
 public StatusIconDefinition this[TemporalStatType stat] => Icons[stat.ToString()];
Beispiel #5
0
 public float this[TemporalStatType temporalStatType] => _counters[temporalStatType.ToString()].Amount;