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