aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/annotations/Slider.java
blob: fa855bf5e291a383ddca704ebae919865fe87086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package io.polyfrost.oneconfig.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();
}