ReligionManager

class ReligionManager

Functions

amountOfFoundableReligions
Link copied to clipboard
fun amountOfFoundableReligions(): Int
canFoundPantheon
Link copied to clipboard
fun canFoundPantheon(): Boolean
canGenerateProphet
Link copied to clipboard
fun canGenerateProphet(): Boolean
chooseBeliefs
Link copied to clipboard
fun chooseBeliefs(iconName: String?, religionName: String?, beliefs: List<Belief>)
choosePantheonBelief
Link copied to clipboard
fun choosePantheonBelief(belief: Belief)
clone
Link copied to clipboard
fun clone(): ReligionManager
endTurn
Link copied to clipboard
fun endTurn(faithFromNewTurn: Int)
enhanceReligion
Link copied to clipboard
fun enhanceReligion(beliefs: List<Belief>)
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
faithForNextGreatProphet
Link copied to clipboard
fun faithForNextGreatProphet(): Int
faithForPantheon
Link copied to clipboard
fun faithForPantheon(additionalCivs: Int = 0): Int
foundReligion
Link copied to clipboard
fun foundReligion(displayName: String, name: String, beliefs: List<Belief>)
generateProphet
Link copied to clipboard
private fun generateProphet()
getBeliefsToChooseAtEnhancing
Link copied to clipboard
fun getBeliefsToChooseAtEnhancing(): Counter<BeliefType>
getBeliefsToChooseAtFounding
Link copied to clipboard
fun getBeliefsToChooseAtFounding(): Counter<BeliefType>
getGreatProphetEquivalent
Link copied to clipboard
fun getGreatProphetEquivalent(): String?
hashCode
Link copied to clipboard
open fun hashCode(): Int
isPickablePantheonBelief
Link copied to clipboard
fun isPickablePantheonBelief(belief: Belief): Boolean
mayEnhanceReligionAtAll
Link copied to clipboard
fun mayEnhanceReligionAtAll(prophet: MapUnit): Boolean
mayEnhanceReligionNow
Link copied to clipboard
fun mayEnhanceReligionNow(prophet: MapUnit): Boolean
mayFoundReligionAtAll
Link copied to clipboard
fun mayFoundReligionAtAll(prophet: MapUnit): Boolean
mayFoundReligionNow
Link copied to clipboard
fun mayFoundReligionNow(prophet: MapUnit): Boolean
numberOfCitiesFollowingThisReligion
Link copied to clipboard
fun numberOfCitiesFollowingThisReligion(): Int
numberOfFollowersFollowingThisReligion
Link copied to clipboard
fun numberOfFollowersFollowingThisReligion(cityFilter: String): Int
setTransients
Link copied to clipboard
fun setTransients()
startTurn
Link copied to clipboard
fun startTurn()
toString
Link copied to clipboard
open fun toString(): String
useProphetForEnhancingReligion
Link copied to clipboard
fun useProphetForEnhancingReligion(prophet: MapUnit)
useProphetForFoundingReligion
Link copied to clipboard
fun useProphetForFoundingReligion(prophet: MapUnit)

Properties

civInfo
Link copied to clipboard
lateinit var civInfo: CivilizationInfo
foundingCityId
Link copied to clipboard
private var foundingCityId: String? = null
religion
Link copied to clipboard
var religion: Religion? = null
religionState
Link copied to clipboard
var religionState: ReligionState
shouldChoosePantheonBelief
Link copied to clipboard
private var shouldChoosePantheonBelief: Boolean = false
storedFaith
Link copied to clipboard
var storedFaith: Int = 0

Sources

jvm source
Link copied to clipboard