BaseUnit
This is the basic info of the units, as specified in Units.json, in contrast to MapUnit, which is a specific unit of a certain type that appears on the map
Constructors
Functions
Assemble json-supplied lines with automatically generated ones.
Generate header line from object metadata. Default implementation will take INamed.name and render it in 150% normal font size with an icon from makeLink.
Generate automatic lines from object metadata.
Generate description as multi-line string for Nation description addUniqueUnitsText and CityScreen addSelectedConstructionTable
Overrides Icon used for Civilopedia entry list (where you select the instance) This will still be passed to the category-specific image getter.
Overrides alphabetical sorting in Civilopedia
Technically not currently needed, since the unique target can be retrieved from every unique in the uniqueObjects, But making this a function is relevant for future "unify Unciv object" plans ;)
Checks if the construction should be purchasable, not whether it can be bought with a stat at all
Properties
List of strings supporting simple formatting rules that CivilopediaScreen can render. May later be merged with automatic lines generated by the deriving class through overridden getCivilopediaTextHeader and/or getCivilopediaTextLines methods.