From 9bf5ba5eb98fa83efada8555d05f9add74a437a0 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 4 Nov 2024 00:22:01 +0500 Subject: upd: mentioned testers and moral supporter --- core/src/kz/ilotterytea/maxon/screens/SplashScreen.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/src/kz/ilotterytea/maxon/screens') diff --git a/core/src/kz/ilotterytea/maxon/screens/SplashScreen.java b/core/src/kz/ilotterytea/maxon/screens/SplashScreen.java index 7b7fd02..c036f78 100644 --- a/core/src/kz/ilotterytea/maxon/screens/SplashScreen.java +++ b/core/src/kz/ilotterytea/maxon/screens/SplashScreen.java @@ -10,6 +10,7 @@ import com.badlogic.gdx.scenes.scene2d.ui.*; import com.badlogic.gdx.scenes.scene2d.utils.Drawable; import com.badlogic.gdx.utils.Align; import com.badlogic.gdx.utils.viewport.*; +import kz.ilotterytea.javaextra.tuples.Triple; import kz.ilotterytea.maxon.MaxonConstants; import kz.ilotterytea.maxon.assets.AssetUtils; import kz.ilotterytea.maxon.MaxonGame; @@ -68,8 +69,8 @@ public class SplashScreen implements Screen { ArrayList contributors = new ArrayList<>(); contributorSkin = new Skin(Gdx.files.internal("sprites/gui/friends.skin")); - for (int i = 0; i < MaxonConstants.GAME_DEVELOPERS.length; i++) { - String name = MaxonConstants.GAME_DEVELOPERS[i][0]; + for (Triple contributor : MaxonConstants.GAME_DEVELOPERS) { + String name = contributor.getFirst(); Drawable icon = contributorSkin.getDrawable(name); contributors.add(icon); } -- cgit v1.2.3