modularised inventory cell behaviour

This commit is contained in:
minjaesong
2021-03-13 17:26:32 +09:00
parent c25e9f92be
commit 5330a2be96
8 changed files with 110 additions and 204 deletions

View File

@@ -193,8 +193,6 @@ abstract class UIItem(var parentUI: UICanvas, val initialX: Int, val initialY: I
return false
}
open fun touchDown(screenX: Int, screenY: Int, pointer: Int, button: Int): Boolean {
println("uiitem ${this.javaClass.name} touchdown")
var actionDone = false
if (parentUI.isVisible) {