CivilopediaCategories
enum CivilopediaCategories(label: String, hide: Boolean, getImage: (name: String, size: Float) -> Actor??, key: KeyCharAndCode, headerIcon: String) : Enum<CivilopediaCategories>
Content copied to clipboard
Enum used as keys for Civilopedia "pages" (categories).
Note names are singular on purpose - a "link" allows both key and label Order of values determines ordering of the categories in the Civilopedia top bar
Parameters
label
Translatable caption for the Civilopedia button
Constructors
CivilopediaCategories
Link copied to clipboard
private fun CivilopediaCategories(label: String, hide: Boolean, getImage: (name: String, size: Float) -> Actor??, key: KeyCharAndCode = KeyCharAndCode.UNKNOWN, headerIcon: String)
Content copied to clipboard
Entries
Improvement
Link copied to clipboard
Improvement("Tile Improvements", false, CivilopediaImageGetters.improvement, KeyCharAndCode('T'), "OtherIcons/Improvements")
Content copied to clipboard
Technology
Link copied to clipboard
Technology("Technologies", false, CivilopediaImageGetters.technology, KeyCharAndCode('T'), "TechIcons/Philosophy")
Content copied to clipboard
Difficulty
Link copied to clipboard
Difficulty("Difficulty levels", false, getImage, null, KeyCharAndCode('D'), "OtherIcons/Quickstart")
Content copied to clipboard
Types
Functions
compareTo
Link copied to clipboard
getByOffset
Link copied to clipboard
getDeclaringClass
Link copied to clipboard
nextForKey
Link copied to clipboard
Properties
Sources
jvm source
Link copied to clipboard