v0.3.0: some refactoring to item sprites to better use an item as a parameter
This commit is contained in:
@@ -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() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user