v0.3.0: some refactoring to item sprites to better use an item as a parameter

This commit is contained in:
Evan Debenham
2015-05-11 20:14:13 -04:00
parent 097852207d
commit 0a78b2dc28
6 changed files with 23 additions and 13 deletions
@@ -140,7 +140,7 @@ public class ItemSlot extends Button {
active = true;
icon.visible = topLeft.visible = topRight.visible = bottomRight.visible = true;
icon.view( item.image(), item.glowing() );
icon.view( item );
topLeft.text( item.status() );