v0.3.0: added support for item sprites to contain emitters

This commit is contained in:
Evan Debenham
2015-05-26 10:19:49 -04:00
parent 8e2f0c0a37
commit 46dffad71d
4 changed files with 27 additions and 4 deletions
@@ -133,12 +133,14 @@ public class ItemSlot extends Button {
if (item == null) {
active = false;
icon.visible = topLeft.visible = topRight.visible = bottomRight.visible = false;
topLeft.visible = topRight.visible = bottomRight.visible = false;
icon.visible(false);
} else {
active = true;
icon.visible = topLeft.visible = topRight.visible = bottomRight.visible = true;
topLeft.visible = topRight.visible = bottomRight.visible = true;
icon.visible(true);
icon.view( item );