aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
blob: 6cb82dab7a2180cb838998b4d8ef34f8417c755d (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
package io.polyfrost.oneconfig.test;

import io.polyfrost.oneconfig.config.annotations.Option;
import io.polyfrost.oneconfig.config.data.Mod;
import io.polyfrost.oneconfig.config.data.ModType;
import io.polyfrost.oneconfig.config.data.OptionType;
import io.polyfrost.oneconfig.config.interfaces.Config;

public class TestConfig extends Config {

    @Option(
            name = "Test switch",
            description = "Best description",
            subcategory = "Test",
            type = OptionType.SWITCH
    )
    public static boolean switchTest;

    @Option(
            name = "Test Page",
            type = OptionType.PAGE,
            subcategory = "Test"
    )
    public static TestPage testPage = new TestPage();

    @Option(
            name = "Test Page But better",
            type = OptionType.PAGE,
            subcategory = "Test",
            description = "The best page to have ever existed"
    )
    public static TestPage testPage2 = new TestPage();

    public TestConfig() {
        super(new Mod("hacks", ModType.UTIL_QOL, "ShadyDev", "1.0"), "hacksConfig.json");
    }
}