fromSettings

fun fromSettings(defaultDifficulty: String? = null): GameSetupInfo

Get a cloned and reseeded GameSetupInfo from saved settings if present, otherwise a default instance.

Parameters

defaultDifficulty

Overrides difficulty only when no saved settings found, so a virgin Unciv installation can QuickStart with a different difficulty than New Game defaults to.

Sources

jvm source
Link copied to clipboard