public static void Init(IConfigurationRepository configurationRepository, ICurrencyRepository currencyRepository, ICitizenService citizenService) { CurrentDay = configurationRepository.GetCurrentDay(); Gold = currencyRepository.Gold; LastDayChangeTime = configurationRepository.GetLastDayChangeTime(); ActivePlayers = citizenService.GetActivePlayerCount(); Initialized = true; }