mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
storage chest wip
This commit is contained in:
@@ -31,8 +31,6 @@ class UIItemInventoryCatBar(
|
||||
const val CAT_ALL = "__all__"
|
||||
}
|
||||
|
||||
//private val parentInventory = parentUI
|
||||
|
||||
internal val catIcons: TextureRegionPack = CommonResourcePool.getAsTextureRegionPack("inventory_caticons")
|
||||
internal val catArrangement: IntArray = intArrayOf(9,6,7,1,0,2,3,4,5,8)
|
||||
internal val catIconsMeaning = listOf( // sortedBy: catArrangement
|
||||
@@ -244,7 +242,6 @@ class UIItemInventoryCatBar(
|
||||
|
||||
if (transitionFired) {
|
||||
transitionFired = false
|
||||
//parentInventory.requestTransition(selectedPanel)
|
||||
transitionReqFun(selectedPanel)
|
||||
}
|
||||
}
|
||||
@@ -280,7 +277,7 @@ class UIItemInventoryCatBar(
|
||||
|
||||
override fun dispose() {
|
||||
underlineIndTex.dispose()
|
||||
catIcons.dispose()
|
||||
//catIcons.dispose() // disposed of by the AppLoader
|
||||
mainButtons.forEach { it.dispose() }
|
||||
sideButtons.forEach { it.dispose() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user