aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl3/api/controller/DoubleSliderControllerBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/dev/isxander/yacl3/api/controller/DoubleSliderControllerBuilder.java')
-rw-r--r--src/main/java/dev/isxander/yacl3/api/controller/DoubleSliderControllerBuilder.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/dev/isxander/yacl3/api/controller/DoubleSliderControllerBuilder.java b/src/main/java/dev/isxander/yacl3/api/controller/DoubleSliderControllerBuilder.java
new file mode 100644
index 0000000..7e4b6f9
--- /dev/null
+++ b/src/main/java/dev/isxander/yacl3/api/controller/DoubleSliderControllerBuilder.java
@@ -0,0 +1,10 @@
+package dev.isxander.yacl3.api.controller;
+
+import dev.isxander.yacl3.api.Option;
+import dev.isxander.yacl3.impl.controller.DoubleSliderControllerBuilderImpl;
+
+public interface DoubleSliderControllerBuilder extends SliderControllerBuilder<Double, DoubleSliderControllerBuilder> {
+ static DoubleSliderControllerBuilder create(Option<Double> option) {
+ return new DoubleSliderControllerBuilderImpl(option);
+ }
+}