summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Army.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/Army.java')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Army.java20
1 files changed, 14 insertions, 6 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Army.java b/core/src/ch/asynk/rustanddust/game/Army.java
index 21cad9f..aaa4073 100644
--- a/core/src/ch/asynk/rustanddust/game/Army.java
+++ b/core/src/ch/asynk/rustanddust/game/Army.java
@@ -1,19 +1,27 @@
package ch.asynk.rustanddust.game;
import ch.asynk.rustanddust.engine.Faction;
+import ch.asynk.rustanddust.game.battles.Factory;
public enum Army implements Faction
{
- NONE("None"),
- GE("German"),
- US("US"),
- USSR("Soviet"),
- EN("English");
+ NONE("None", null),
+ GE("German", Factory.FLAG_GE),
+ US("US", Factory.FLAG_US),
+ USSR("Soviet", null),
+ EN("English", null);
private String s;
+ private String f;
- Army(String s) {
+ Army(String s, String f) {
this.s = s;
+ this.f = f;
+ }
+
+ public String flag()
+ {
+ return f;
}
@Override