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/MaxonConstants.java | 34 +++++++++++++++++----- .../kz/ilotterytea/maxon/screens/SplashScreen.java | 5 ++-- 2 files changed, 29 insertions(+), 10 deletions(-) (limited to 'core') diff --git a/core/src/kz/ilotterytea/maxon/MaxonConstants.java b/core/src/kz/ilotterytea/maxon/MaxonConstants.java index 92db69e..2d1edea 100644 --- a/core/src/kz/ilotterytea/maxon/MaxonConstants.java +++ b/core/src/kz/ilotterytea/maxon/MaxonConstants.java @@ -5,9 +5,12 @@ import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.Texture; +import kz.ilotterytea.javaextra.tuples.Triple; import kz.ilotterytea.maxon.utils.OsUtils; import java.text.DecimalFormat; +import java.util.Arrays; +import java.util.List; public class MaxonConstants { public static final String GAME_NAME = "Maxon Petting Simulator"; @@ -17,14 +20,29 @@ public class MaxonConstants { public static final String GAME_VERSION = "1.0.0"; public static final String GAME_MAIN_DEVELOPER = "ilotterytea"; - public static final String[][] GAME_DEVELOPERS = { - {"ilotterytea", "https://ilotterytea.kz"}, - {"greddyss", "https://twitch.tv/greddyss"}, - {"enotegg", "https://twitch.tv/enotegg"}, - {"namesake", "https://twitter.com/nameisnamesake"}, - {"saopin", "https://twitch.tv/saopin_"}, - {"gvardovskiy", "https://twitch.tv/gvardovskiy"} - }; + public static final List> GAME_DEVELOPERS = Arrays.asList( + new Triple<>("m4x0nn", "https://twitch.tv/m4x0nn", 0), + new Triple<>("ilotterytea", "https://ilotterytea.kz", 1), + new Triple<>("GreDDySS", "https://twitch.tv/greddyss", 2), + new Triple<>("enotEGG_", "https://twitch.tv/enotegg_", 2), + new Triple<>("NameIsNamesake", "https://twitter.com/nameisnamesake", 3), + new Triple<>("saopin_", "https://twitch.tv/saopin_", 3), + new Triple<>("Gvardovskiy", "https://twitch.tv/gvardovskiy", 4), + new Triple<>("4elovekkun", "https://twitch.tv/4elovekkun", 5), + new Triple<>("Art5507", "https://twitch.tv/art5507", 5), + new Triple<>("GigovichGig", "https://twitch.tv/gigovichgig", 5), + new Triple<>("IIReZortII", "https://twitch.tv/iirezortii", 5), + new Triple<>("drt_s_s", "https://twitch.tv/drt_s_s", 5), + new Triple<>("felugoz", "https://twitch.tv/felugoz", 5), + new Triple<>("iQweep", "https://twitch.tv/iqweep", 6), + new Triple<>("neizyum", "https://twitch.tv/neizyum", 5), + new Triple<>("rbch20", "https://twitch.tv/rbch20", 5), + new Triple<>("rey_ron_ro", "https://twitch.tv/rey_ron_ro", 5), + new Triple<>("shvedoff__", "https://twitch.tv/shvedoff__", 5), + new Triple<>("usatiy_", "https://twitch.tv/usatiy_", 5), + new Triple<>("vexenigmus", "https://twitch.tv/vexenigmus", 5), + new Triple<>("wanderning_", "https://twitch.tv/wanderning_", 5) + ); public static final String GAME_MAIN_FOLDER = OsUtils.getUserDataDirectory(GAME_MAIN_DEVELOPER + "/" + GAME_APP_ID); public static final String GAME_SCREENSHOT_FOLDER = GAME_MAIN_FOLDER + "/screenshots"; 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