VictoryManager

class VictoryManager

Functions

calculateDiplomaticVotingResults
Link copied to clipboard
fun calculateDiplomaticVotingResults(votesCast: HashMap<String, String>): Counter<String>
clone
Link copied to clipboard
fun clone(): VictoryManager
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hasEnoughVotesForDiplomaticVictory
Link copied to clipboard
fun hasEnoughVotesForDiplomaticVictory(): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
hasVictoryType
Link copied to clipboard
private fun hasVictoryType(victoryType: VictoryType): Boolean
hasWon
Link copied to clipboard
fun hasWon(): Boolean
hasWonCulturalVictory
Link copied to clipboard
fun hasWonCulturalVictory(): Boolean
hasWonDiplomaticVictory
Link copied to clipboard
fun hasWonDiplomaticVictory(): Boolean
hasWonDominationVictory
Link copied to clipboard
fun hasWonDominationVictory(): Boolean
hasWonScientificVictory
Link copied to clipboard
fun hasWonScientificVictory(): Boolean
hasWonVictoryType
Link copied to clipboard
fun hasWonVictoryType(): VictoryType?
spaceshipPartsRemaining
Link copied to clipboard
fun spaceshipPartsRemaining(): Int
toString
Link copied to clipboard
open fun toString(): String
unconstructedSpaceshipParts
Link copied to clipboard
fun unconstructedSpaceshipParts(): Counter<String>
votesNeededForDiplomaticVictory
Link copied to clipboard
fun votesNeededForDiplomaticVictory(): Int

Properties

civInfo
Link copied to clipboard
lateinit var civInfo: CivilizationInfo
currentsSpaceshipParts
Link copied to clipboard
var currentsSpaceshipParts: Counter<String>
hasWonDiplomaticVictory
Link copied to clipboard
var hasWonDiplomaticVictory: Boolean = false
requiredSpaceshipParts
Link copied to clipboard
var requiredSpaceshipParts: Counter<String>

Sources

jvm source
Link copied to clipboard