summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Config.java
blob: 976f1a6a32d1f9ea3ea2829f004ed39be2c1169e (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package ch.asynk.tankontank.game;

public class Config
{
    public enum Graphics {
        MINE("mine", 0),
        ORIGINAL("original", 1);
        public String s;
        public int i;
        Graphics(String s, int i)
        {
            this.s = s;
            this.i = i;
        }
        public Graphics next()
        {
            if (this == ORIGINAL)
                return MINE;
            return ORIGINAL;
        }
    };

    public boolean showMoves;
    public boolean showTargets;
    public boolean showMoveAssists;
    public boolean canCancel;
    public boolean mustValidate;
    public boolean showEnemyPossibilities;
    public boolean debug;
    public Battle battle;
    public float fxVolume;
    public Graphics graphics;

    public Config()
    {
        this.debug = false;
        this.showMoves = true;
        this.showTargets = true;
        this.showMoveAssists = true;
        this.canCancel = false;
        this.mustValidate = false;
        this.showEnemyPossibilities = false;
        this.graphics = Graphics.MINE;
        this.battle = null;
        this.fxVolume = 1f;
    }
}