1 package org.inigma.utopia;
2
3 public enum Race {
4 Dwarf("Dwarf", "DW", 5, 5, 7, 4),
5 DarkElf("Dark Elf", "DE", 6, 5, 5, 6),
6 Elf("Elf", "EL", 5, 5, 6, 4),
7 Gnome("Gnome", "GN", 5, 5, 5, 4),
8 Human("Human", "HU", 5, 6, 6, 3),
9 Orc("Orc", "OR", 5, 5, 8, 2),
10 Unknown("Unknown", "??", 5, 5, 5, 5);
11
12 private String displayName;
13 private String shortName;
14 private int specOff;
15 private int specDef;
16 private int eliteOff;
17 private int eliteDef;
18
19 private Race(String display, String shortName, int so, int sd, int eo, int ed) {
20 this.displayName = display;
21 this.shortName = shortName;
22 this.specOff = so;
23 this.specDef = sd;
24 this.eliteOff = eo;
25 this.eliteDef = ed;
26 }
27
28 public String getDisplayName() {
29 return displayName;
30 }
31
32 public String getShortName() {
33 return shortName;
34 }
35
36 public int getSpecOff() {
37 return specOff;
38 }
39
40 public int getSpecDef() {
41 return specDef;
42 }
43
44 public int getEliteOff() {
45 return eliteOff;
46 }
47
48 public int getEliteDef() {
49 return eliteDef;
50 }
51 }