summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Army.java
blob: 7a5454e8d1107a964db1c5bfecea56b0b722abd9 (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.tankontank.game;

import ch.asynk.tankontank.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);
    }
}