aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java b/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java
index 2f08cfd..995b7c9 100644
--- a/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java
+++ b/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java
@@ -1,4 +1,10 @@
package dev.isxander.yacl.api.controller;
+import dev.isxander.yacl.api.Option;
+import dev.isxander.yacl.impl.controller.DoubleSliderControllerBuilderImpl;
+
public interface DoubleSliderControllerBuilder extends SliderControllerBuilder<Double, DoubleSliderControllerBuilder> {
+ static DoubleSliderControllerBuilder create(Option<Double> option) {
+ return new DoubleSliderControllerBuilderImpl(option);
+ }
}