ModStateImages
class ModStateImages(isVisual: Boolean, isUpdated: Boolean, visualImage: Image, updatedImage: Image)
Content copied to clipboard
Helper class keeps references to decoration images of installed mods to enable dynamic visibility (actually we do not use isVisible but refill a container selectively which allows the aggregate height to adapt and the set to center vertically)
Parameters
visualImage
image indicating enabled as permanent visual mod
updatedImage
image indicating online mod has been updated
Constructors
ModStateImages
Link copied to clipboard
fun ModStateImages(isVisual: Boolean = false, isUpdated: Boolean = false, visualImage: Image = ImageGetter.getImage("UnitPromotionIcons/Scouting"), updatedImage: Image = ImageGetter.getImage("OtherIcons/Mods"))
Content copied to clipboard
Functions
Properties
Sources
jvm source
Link copied to clipboard