V0.2.1: Crystal Chests no longer show their contents in the loot indicator.

This commit is contained in:
Evan Debenham 2014-10-02 14:14:21 -04:00
parent 346f5b4e88
commit c66cc2fc46
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,9 @@ public class ItemSlot extends Button {
public static final Item LOCKED_CHEST = new Item() {
public int image() { return ItemSpriteSheet.LOCKED_CHEST; };
};
public static final Item CRYSTAL_CHEST = new Item() {
public int image() { return ItemSpriteSheet.CRYSTAL_CHEST; };
};
public static final Item TOMB = new Item() {
public int image() { return ItemSpriteSheet.TOMB; };
};

View File

@ -66,6 +66,7 @@ public class LootIndicator extends Tag {
Item item =
heap.type == Heap.Type.CHEST ? ItemSlot.CHEST :
heap.type == Heap.Type.LOCKED_CHEST ? ItemSlot.LOCKED_CHEST :
heap.type == Heap.Type.CRYSTAL_CHEST ? ItemSlot.CRYSTAL_CHEST :
heap.type == Heap.Type.TOMB ? ItemSlot.TOMB :
heap.type == Heap.Type.SKELETON ? ItemSlot.SKELETON :
heap.peek();