public BattleUnit(PlayerUnit playerUnit) { Unit = playerUnit; State = BattleUnitState.Alive; StatModifier = new StatModifier(); foreach (var statType in Enum.GetValues(typeof(UnitStatType)).Cast <UnitStatType>()) { Stats.Add(statType, Unit.GetStatValue(statType)); } }