aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java
blob: cf8bfcd672807077497cbd87288a0bebd5a2f7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package io.polyfrost.oneconfig.config.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Slider {
    String name();
    String description() default "";
    float min();
    float max();
    float precision();
}