Display current ammo type in turret info

This commit is contained in:
Anuken
2019-08-01 11:03:20 -04:00
parent b812fcddf8
commit 69ee5257f2
7 changed files with 19 additions and 2 deletions

View File

@@ -17,6 +17,13 @@ public class ItemImage extends Stack{
add(t);
}
public ItemImage(TextureRegion region){
Table t = new Table().left().bottom();
add(new Image(region));
add(t);
}
public ItemImage(ItemStack stack){
add(new Image(stack.item.icon(Icon.large)));