summaryrefslogtreecommitdiff
path: root/core/src/kz/ilotterytea/maxon/ui
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-06-02 00:32:26 +0500
committerilotterytea <iltsu@alright.party>2024-06-02 00:32:26 +0500
commitaccbb778f515bb47ea3eb718f639d7c8008accbb (patch)
tree33568eac3a5965023c0fe2d23861e3f35c8ff39b /core/src/kz/ilotterytea/maxon/ui
parent6b8982910d1b0ca259d8e3a3de1072fe673b4217 (diff)
feat/upd: player icons + icon for amount of purchased items
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/ui')
-rw-r--r--core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java4
1 files changed, 2 insertions, 2 deletions
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);