make some values private

This commit is contained in:
Md. Touhidur Rahman 2025-09-20 00:12:38 +06:00
parent 65716d6db9
commit 63755fd8db
No known key found for this signature in database
GPG Key ID: 431978882FE25058

View File

@ -20,16 +20,16 @@ private val smallButtonStyle = SmallButtonStyle()
class ChatButton(val worldScreen: WorldScreen) : IconTextButton(
"Chat", ImageGetter.getImage("OtherIcons/Chat"), 23
) {
val chat = ChatStore.getChatByGameId(worldScreen.gameInfo.gameId)
private val chat = ChatStore.getChatByGameId(worldScreen.gameInfo.gameId)
val badge = "".toTextButton(smallButtonStyle).apply {
private val badge = "".toTextButton(smallButtonStyle).apply {
disable()
label.setColor(Color.WHITE)
label.setAlignment(Align.center)
label.setFontScale(0.2f)
}
val flash = AlternatingStateManager(
private val flash = AlternatingStateManager(
name = "ChatButton color flash",
originalState = {
icon?.color = fontColor