From accbb778f515bb47ea3eb718f639d7c8008accbb Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 2 Jun 2024 00:32:26 +0500 Subject: feat/upd: player icons + icon for amount of purchased items --- core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/kz/ilotterytea/maxon/ui') diff --git a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java index 7069911..04e7059 100644 --- a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java +++ b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java @@ -28,7 +28,7 @@ public class SavegameWidget extends Table implements Disposable { super(); this.game = game; this.stage = stage; - this.atlas = game.assetManager.get("MainSpritesheet.atlas", TextureAtlas.class); + this.atlas = game.assetManager.get("sprites/gui/player_icons.atlas", TextureAtlas.class); this.skin = skin; this.savegame = savegame; @@ -128,7 +128,7 @@ public class SavegameWidget extends Table implements Disposable { // Unit long amount = savegame.inv.size(); - Image unitIcon = new Image(atlas.findRegion("points")); + Image unitIcon = new Image(atlas.findRegion("pets")); data.add(unitIcon).size(32f, 32f).padRight(8f); Label unit = new Label(NumberFormatter.format(amount), skin); -- cgit v1.2.3