Loading...
Searching...
No Matches
CityBuilderCore.IGameSettings Interface Reference
Inheritance diagram for CityBuilderCore.IGameSettings:
CityBuilderCore.DefaultGameManager CityBuilderCore.Tests.DebugGameSettings

Public Member Functions

void RegisterDifficultyFactor (IDifficultyFactor difficultyFactor)
 register something influencing difficulty(for example increase risks faster during times of peril)
 
void DeregisterDifficultyFactor (IDifficultyFactor difficultyFactor)
 deregister something influencing difficulty
 

Properties

bool HasEfficiency [get]
 when false efficiency is disabled and always 1, mainly useful for debugging
 
bool HasEmployment [get]
 when false employment is disabled and behaves as if always fully employed, mainly useful for debugging
 
float RiskMultiplier [get]
 influences the speed at which risks increase
 
float ServiceMultiplier [get]
 influences the speed at which services deplete
 
float ItemsMultiplier [get]
 influences the speed at which items deplete
 
float CheckInterval [get]
 how often various checkers(this.StartChecker) in the game run(calculating scores, check immigration, check employment, ...)
 

Member Function Documentation

◆ DeregisterDifficultyFactor()

void CityBuilderCore.IGameSettings.DeregisterDifficultyFactor ( IDifficultyFactor difficultyFactor)

deregister something influencing difficulty

Parameters
difficultyFactor

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.Tests.DebugGameSettings.

◆ RegisterDifficultyFactor()

void CityBuilderCore.IGameSettings.RegisterDifficultyFactor ( IDifficultyFactor difficultyFactor)

register something influencing difficulty(for example increase risks faster during times of peril)

Parameters
difficultyFactor

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.Tests.DebugGameSettings.