jukebox ui wip

This commit is contained in:
minjaesong
2024-01-13 05:08:40 +09:00
parent 5c6cc36437
commit fb9640e615
19 changed files with 389 additions and 103 deletions

View File

@@ -12,6 +12,7 @@ import net.torvald.terrarumsansbitmap.gdx.TextureRegionPack
*/
class UITemplateCatBar(
parent: UICanvas,
showSidebuttons: Boolean,
catIcons: TextureRegionPack = CommonResourcePool.getAsTextureRegionPack("inventory_category"),
catArrangement: IntArray, // icon order
@@ -26,7 +27,7 @@ class UITemplateCatBar(
42 - UIInventoryFull.YPOS_CORRECTION + (App.scr.height - UIInventoryFull.internalHeight) / 2,
UIInventoryFull.internalWidth,
UIInventoryFull.catBarWidth,
true,
showSidebuttons,
catIcons, catArrangement, catIconsMeaning, catIconsLabels
)