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