Add gacha details page.

This commit is contained in:
ImmuState
2022-05-11 11:19:25 -07:00
committed by Melledy
parent f16edfd58e
commit 1d4e0e09d0
9 changed files with 275 additions and 3 deletions

View File

@@ -65,7 +65,23 @@ public class GachaManager {
public Int2ObjectMap<GachaBanner> getGachaBanners() {
return gachaBanners;
}
public int[] getYellowAvatars() {
return this.yellowAvatars;
}
public int[] getYellowWeapons() {
return this.yellowWeapons;
}
public int[] getPurpleAvatars() {
return this.purpleAvatars;
}
public int[] getPurpleWeapons() {
return this.purpleWeapons;
}
public int[] getBlueWeapons() {
return this.blueWeapons;
}
public int randomRange(int min, int max) {
return ThreadLocalRandom.current().nextInt(max - min + 1) + min;
}