Entwickler haben also Bedürfnisse?

This commit is contained in:
Simon Lübeß
2024-04-05 19:24:26 +02:00
parent 17dbb6a356
commit 1bae35b3be
9 changed files with 14720 additions and 15 deletions

View File

@ -54,11 +54,9 @@ public class TimeManager : MonoBehaviourSingleton<TimeManager>
/// <summary>
/// Berechnet die (real life) Sekunden, die die Entwickler bei 100% Effizienz benötigen um das Spiel bei gegebener Schwierigkeit zu entwickeln.
/// </summary>
public double CalculateActualDeveloperTime(Difficulty difficulty, int developerCount)
public double CalculateActualDeveloperTime(DifficultySettings difficultySettings, int developerCount)
{
DifficultySettings settings = difficulty.GetSettings();
return (_daysUntilRelease * _secondsPerDay * developerCount) / settings.DaysUntilReleaseFactor;
return (_daysUntilRelease * _secondsPerDay * developerCount) / difficultySettings.DaysUntilReleaseFactor;
}
void Update()