aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java
blob: 7a05ef7078d9dd9154cffbc618b4118897b86ffc (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
package cc.polyfrost.oneconfig.hud;

import cc.polyfrost.oneconfig.config.annotations.Color;
import cc.polyfrost.oneconfig.config.annotations.Dropdown;
import cc.polyfrost.oneconfig.config.annotations.Switch;
import cc.polyfrost.oneconfig.config.core.OneColor;

abstract class TextHud extends Hud {
    @Color(
            name = "Text Color"
    )
    public OneColor color = new OneColor(255, 255, 255);

    @Switch(
            name = "Show in Chat"
    )
    public boolean showInChat;

    @Switch(
            name = "Show in F3 (Debug)"
    )
    public boolean showInDebug;

    @Switch(
            name = "Show in GUIs"
    )
    public boolean showInGuis = true;

    @Dropdown(
            name = "Text Type",
            options = {"No Shadow", "Shadow", "Full Shadow"}
    )
    public int textType = 0;


    public TextHud(boolean enabled, int x, int y) {
        super(enabled, x, y);
    }
}