Religion

class Religion : INamed

Data object for Religions

Constructors

Religion
Link copied to clipboard
fun Religion(name: String, gameInfo: GameInfo, foundingCivName: String)
Religion
Link copied to clipboard
fun Religion()

Functions

clone
Link copied to clipboard
fun clone(): Religion
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getAllBeliefsOrdered
Link copied to clipboard
fun getAllBeliefsOrdered(): Sequence<Belief>
getBeliefs
Link copied to clipboard
fun getBeliefs(beliefType: BeliefType): Sequence<Belief>
getFollowerUniques
Link copied to clipboard
fun getFollowerUniques(): Sequence<Unique>
getFounderUniques
Link copied to clipboard
fun getFounderUniques(): Sequence<Unique>
getIconName
Link copied to clipboard
fun getIconName(): String
getReligionDisplayName
Link copied to clipboard
fun getReligionDisplayName(): String
getUniquesOfBeliefs
Link copied to clipboard
private fun getUniquesOfBeliefs(beliefs: HashSet<String>): Sequence<Unique>
hasBelief
Link copied to clipboard
fun hasBelief(belief: String): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
isEnhancedReligion
Link copied to clipboard
fun isEnhancedReligion(): Boolean
isMajorReligion
Link copied to clipboard
fun isMajorReligion(): Boolean
isPantheon
Link copied to clipboard
fun isPantheon(): Boolean
mapToExistingBeliefs
Link copied to clipboard
private fun mapToExistingBeliefs(beliefs: HashSet<String>): List<Belief>
setTransients
Link copied to clipboard
fun setTransients(gameInfo: GameInfo)
toString
Link copied to clipboard
open fun toString(): String

Properties

displayName
Link copied to clipboard
var displayName: String? = null
followerBeliefs
Link copied to clipboard
var followerBeliefs: HashSet<String>
founderBeliefs
Link copied to clipboard
var founderBeliefs: HashSet<String>
foundingCivName
Link copied to clipboard
lateinit var foundingCivName: String
gameInfo
Link copied to clipboard
lateinit var gameInfo: GameInfo
name
Link copied to clipboard
open lateinit override var name: String

Sources

jvm source
Link copied to clipboard