aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl3/impl/controller/TickBoxControllerBuilderImpl.java
blob: 3b29719fa54515ccdb17a9ac0d095b3d1909c84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package dev.isxander.yacl3.impl.controller;

import dev.isxander.yacl3.api.Controller;
import dev.isxander.yacl3.api.Option;
import dev.isxander.yacl3.api.controller.TickBoxControllerBuilder;
import dev.isxander.yacl3.gui.controllers.TickBoxController;

public class TickBoxControllerBuilderImpl extends AbstractControllerBuilderImpl<Boolean> implements TickBoxControllerBuilder {
    public TickBoxControllerBuilderImpl(Option<Boolean> option) {
        super(option);
    }

    @Override
    public Controller<Boolean> build() {
        return new TickBoxController(option);
    }
}