Remove unnecessary access modifiers on enum constructors.
This commit is contained in:
@@ -315,7 +315,7 @@ public class ArenaClass
|
|||||||
|
|
||||||
private int[] types;
|
private int[] types;
|
||||||
|
|
||||||
private ArmorType(int... types) {
|
ArmorType(int... types) {
|
||||||
this.types = types;
|
this.types = types;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public enum Msg {
|
|||||||
|
|
||||||
private String value;
|
private String value;
|
||||||
|
|
||||||
private Msg(String value) {
|
Msg(String value) {
|
||||||
set(value);
|
set(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ public enum Stats
|
|||||||
|
|
||||||
private String name, shortName;
|
private String name, shortName;
|
||||||
|
|
||||||
private Stats(String name, String shortName) {
|
Stats(String name, String shortName) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.shortName = shortName;
|
this.shortName = shortName;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ public enum Time
|
|||||||
|
|
||||||
private int time;
|
private int time;
|
||||||
|
|
||||||
private Time(int time) {
|
Time(int time) {
|
||||||
this.time = time;
|
this.time = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public enum BossHealth
|
|||||||
VERYLOW(4), LOW(8), MEDIUM(15), HIGH(25), VERYHIGH(40), PSYCHO(60);
|
VERYLOW(4), LOW(8), MEDIUM(15), HIGH(25), VERYHIGH(40), PSYCHO(60);
|
||||||
private int multiplier;
|
private int multiplier;
|
||||||
|
|
||||||
private BossHealth(int multiplier) {
|
BossHealth(int multiplier) {
|
||||||
this.multiplier = multiplier;
|
this.multiplier = multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public enum SwarmAmount
|
|||||||
LOW(10), MEDIUM(20), HIGH(30), PSYCHO(60);
|
LOW(10), MEDIUM(20), HIGH(30), PSYCHO(60);
|
||||||
private int multiplier;
|
private int multiplier;
|
||||||
|
|
||||||
private SwarmAmount(int multiplier) {
|
SwarmAmount(int multiplier) {
|
||||||
this.multiplier = multiplier;
|
this.multiplier = multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ public enum WaveError
|
|||||||
|
|
||||||
private String msg;
|
private String msg;
|
||||||
|
|
||||||
private WaveError(String msg) {
|
WaveError(String msg) {
|
||||||
this.msg = msg;
|
this.msg = msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public enum WaveGrowth
|
|||||||
OLD(0), SLOW(0.5), MEDIUM(0.65), FAST(0.8), PSYCHO(1.2);
|
OLD(0), SLOW(0.5), MEDIUM(0.65), FAST(0.8), PSYCHO(1.2);
|
||||||
private double exp;
|
private double exp;
|
||||||
|
|
||||||
private WaveGrowth(double exp) {
|
WaveGrowth(double exp) {
|
||||||
this.exp = exp;
|
this.exp = exp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user