Many things that won't fit in a commit message

This commit is contained in:
Anuken
2020-09-11 23:04:19 -04:00
parent 3feb9e76f0
commit 1c6fed8df8
8 changed files with 33 additions and 18 deletions

View File

@@ -10,8 +10,12 @@ public class ItemImage extends Stack{
public ItemImage(TextureRegion region, int amount){
Table t = new Table().left().bottom();
t.add(amount + "").name("item-label");
t.pack();
add(new Image(region));
add(new Table(o -> {
o.left();
o.add(new Image(region)).size(32f);
}));
add(t);
}