summaryrefslogtreecommitdiff
path: root/core/src/kz/ilotterytea/maxon/screens
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-06-09 16:00:14 +0500
committerilotterytea <iltsu@alright.party>2024-06-09 19:27:40 +0500
commit480fca4f020457fc0421c482e4069b0ba973c8d4 (patch)
treec500d3fc70dd61ef531da3a2fe4affc1cb99a084 /core/src/kz/ilotterytea/maxon/screens
parent8a9452ca51c2c4863da351d3e28965b6ac1334b4 (diff)
feat: sort pets by their price
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/screens')
-rw-r--r--core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java
index e4e3694..3bf2d79 100644
--- a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java
+++ b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java
@@ -171,7 +171,7 @@ public class ShopUI {
public void createShopListUI() {
Table table = new Table(this.skin);
- HashSet<Pet> pets = MaxonGame.getInstance().getPetManager().getPets();
+ ArrayList<Pet> pets = MaxonGame.getInstance().getPetManager().getPets();
for (Pet pet : pets) {
PetWidget widget = new PetWidget(this.skin, pet, this.atlas);