v0.2.2: gave heroes remains a unique heap type & sprite
This commit is contained in:
@@ -56,7 +56,8 @@ public class Heap implements Bundlable {
|
||||
LOCKED_CHEST,
|
||||
CRYSTAL_CHEST,
|
||||
TOMB,
|
||||
SKELETON
|
||||
SKELETON,
|
||||
REMAINS
|
||||
}
|
||||
public Type type = Type.HEAP;
|
||||
|
||||
@@ -81,6 +82,8 @@ public class Heap implements Bundlable {
|
||||
return ItemSpriteSheet.TOMB;
|
||||
case SKELETON:
|
||||
return ItemSpriteSheet.BONES;
|
||||
case REMAINS:
|
||||
return ItemSpriteSheet.REMAINS;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
@@ -96,6 +99,7 @@ public class Heap implements Bundlable {
|
||||
Wraith.spawnAround( hero.pos );
|
||||
break;
|
||||
case SKELETON:
|
||||
case REMAINS:
|
||||
CellEmitter.center( pos ).start( Speck.factory( Speck.RATTLE ), 0.1f, 3 );
|
||||
for (Item item : items) {
|
||||
if (item.cursed) {
|
||||
|
||||
Reference in New Issue
Block a user