CivilopediaEntry
private class CivilopediaEntry(name: String, image: Actor?, flavour: ICivilopediaText?, y: Float, height: Float, sortBy: Int)
Content copied to clipboard
Container collecting data per Civilopedia entry
Parameters
name
From Ruleset object INamed.name
image
Icon for button
flavour
y
Y coordinate for scrolling to
height
Cell height
Constructors
CivilopediaEntry
Link copied to clipboard
fun CivilopediaEntry(name: String, image: Actor? = null, flavour: ICivilopediaText? = null, y: Float = 0f, height: Float = 0f, sortBy: Int = 0)
Content copied to clipboard
Functions
withCoordinates
Link copied to clipboard
fun withCoordinates(y: Float, height: Float): CivilopediaScreen.CivilopediaEntry
Content copied to clipboard
Properties
Sources
jvm source
Link copied to clipboard