sound cues for buttons

This commit is contained in:
minjaesong
2024-04-01 03:15:57 +09:00
parent f72ed0f706
commit 576e868996
23 changed files with 193 additions and 41 deletions

View File

@@ -51,6 +51,8 @@ open class UIItemImageButton(
val imageDrawHeight: Int = image.regionHeight,
) : UIItem(parent, initialX, initialY) {
override var suppressHaptic = false
var highlighted = false
var extraDrawOp: (UIItem, SpriteBatch) -> Unit = { _,_ -> }