public enum Monster {
m001("Fodant", Monsters.ROCK, "2", "10"),
m002("Ferud", Monsters.ROCK, "3", "11");
private int ID = 0;
private final String name, type, type2;
private final double size, weight;
private final String perspectiveFileName, sideFileName;
private int counter;
Monster(String n, String t, String s, String w, String p){
this(n, t, Monsters.NOTYPE, s, w, p);
}
Monster(String n, String t, String t2, String s, String w, String p){
name = n;
type = t;
type2 = t2;
size = Double.parseDouble(s);
weight = Double.parseDouble(w);
counter = Integer.parseInt(p);
if(counter < 10){
perspectiveFileName = "00" + counter;
} else if (counter < 100){
perspectiveFileName = "0" + counter;
} else {
perspectiveFileName = "" + counter;
}
ID++;
}