From 480fca4f020457fc0421c482e4069b0ba973c8d4 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 9 Jun 2024 16:00:14 +0500 Subject: feat: sort pets by their price --- core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/kz/ilotterytea/maxon/screens') 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 pets = MaxonGame.getInstance().getPetManager().getPets(); + ArrayList pets = MaxonGame.getInstance().getPetManager().getPets(); for (Pet pet : pets) { PetWidget widget = new PetWidget(this.skin, pet, this.atlas); -- cgit v1.2.3