summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Army.java
blob: 21cad9f69fb8b65df08a8723eda2ecb3a0a36f21 (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
30
package ch.asynk.rustanddust.game;

import ch.asynk.rustanddust.engine.Faction;

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

    private String s;

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

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

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