diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Army.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Army.java b/core/src/ch/asynk/tankontank/game/Army.java index 66c6b4f..852dbe9 100644 --- a/core/src/ch/asynk/tankontank/game/Army.java +++ b/core/src/ch/asynk/tankontank/game/Army.java @@ -2,10 +2,17 @@ package ch.asynk.tankontank.game; public enum Army { - GE, US; + GE("German"), US("US"); + private String s; + Army(String s) { this.s = s; } public boolean isEnemy(Army other) { return (this != other); } + + public String toString() + { + return s; + } } |