summaryrefslogtreecommitdiff
path: root/core/src/kz/ilotterytea/maxon/screens
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/screens
parent6b8982910d1b0ca259d8e3a3de1072fe673b4217 (diff)
feat/upd: player icons + icon for amount of purchased items
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/screens')
-rw-r--r--core/src/kz/ilotterytea/maxon/screens/GameScreen.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/GameScreen.java b/core/src/kz/ilotterytea/maxon/screens/GameScreen.java
index 126bde7..649cd1e 100644
--- a/core/src/kz/ilotterytea/maxon/screens/GameScreen.java
+++ b/core/src/kz/ilotterytea/maxon/screens/GameScreen.java
@@ -57,7 +57,7 @@ public class GameScreen implements Screen, InputProcessor {
Stage stage;
private Skin skin, uiSkin;
- TextureAtlas mainAtlas;
+ TextureAtlas mainAtlas, playerIconAtlas;
Label pointsLabel, multiplierLabel;
AnimatedImage cat;
@@ -553,10 +553,11 @@ public class GameScreen implements Screen, InputProcessor {
this.stage = new Stage(new ScreenViewport());
this.skin = this.game.assetManager.get("MainSpritesheet.skin", Skin.class);
this.mainAtlas = this.game.assetManager.get("MainSpritesheet.atlas", TextureAtlas.class);
+ this.playerIconAtlas = this.game.assetManager.get("sprites/gui/player_icons.atlas", TextureAtlas.class);
this.uiSkin = this.game.assetManager.get("sprites/gui/ui.skin", Skin.class);
- this.shopUI = new ShopUI(savegame, this.stage, this.uiSkin, this.mainAtlas);
+ this.shopUI = new ShopUI(savegame, this.stage, this.uiSkin, this.playerIconAtlas);
shopUI.createShopTitleUI();
shopUI.createShopControlUI();