RuneHive-Game
Loading...
Searching...
No Matches
MysteryRarity.java
Go to the documentation of this file.
1
package
com.runehive.content.mysterybox;
2
3
/**
4
* Created by Daniel on 2018-02-03.
5
*/
6
public
enum
MysteryRarity
{
7
COMMON
(.10),
8
UNCOMMON
(.08),
9
RARE
(.5),
10
EXOTIC
(.2);
11
12
public
final
double
chance
;
13
14
MysteryRarity
(
double
chance
) {
15
this.chance =
chance
;
16
}
17
}
com.runehive.content.mysterybox.MysteryRarity.MysteryRarity
MysteryRarity(double chance)
Definition
MysteryRarity.java:14
com.runehive.content.mysterybox.MysteryRarity.UNCOMMON
UNCOMMON
Definition
MysteryRarity.java:8
com.runehive.content.mysterybox.MysteryRarity.RARE
RARE
Definition
MysteryRarity.java:9
com.runehive.content.mysterybox.MysteryRarity.chance
final double chance
Definition
MysteryRarity.java:12
com.runehive.content.mysterybox.MysteryRarity.COMMON
COMMON
Definition
MysteryRarity.java:7
com.runehive.content.mysterybox.MysteryRarity.EXOTIC
EXOTIC
Definition
MysteryRarity.java:10