summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Army.java
blob: 9e729c6b04eedddee4e0ceb7aa36c8507724ec5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package ch.asynk.tankontank.game;

import ch.asynk.tankontank.engine.Faction;

public enum Army implements Faction
{
    GE("German"),
    US("US"),
    USSR("Soviet"),
    EN("English");

    private String s;

    Army(String s) {
        this.s = s;
    }

    @Override
    public boolean isEnemy(Faction other)
    {
        return (this != other);
    }

    @Override
    public String toString()
    {
        return s;
    }
}