v1.4.0: standardized right click menu images with info windows

This commit is contained in:
Evan Debenham
2022-07-31 16:48:07 -04:00
parent fce4b8a73a
commit e38dbae236

View File

@@ -1450,10 +1450,10 @@ public class GameScene extends PixelScene {
image = Icons.get(Icons.INFO);
} else if (objects.get(0) instanceof Hero) {
title = textLines.remove(0);
image = new Image(((Hero) objects.get(0)).sprite);
image = HeroSprite.avatar(((Hero) objects.get(0)).heroClass, ((Hero) objects.get(0)).tier());
} else if (objects.get(0) instanceof Mob) {
title = textLines.remove(0);
image = new Image(((Mob) objects.get(0)).sprite);
image = ((Mob) objects.get(0)).sprite();
} else if (objects.get(0) instanceof Heap) {
title = textLines.remove(0);
image = new ItemSprite((Heap) objects.get(0));