It actually works now
It threw errors before
This commit is contained in:
parent
af7b39d8e9
commit
4a1f1b7545
@ -20,12 +20,6 @@ import ru.windcorp.progressia.client.graphics.input.InputEvent;
|
||||
import ru.windcorp.progressia.client.graphics.input.KeyEvent;
|
||||
|
||||
public class Button extends Interactable {
|
||||
|
||||
private Vec2i currentSize;
|
||||
private boolean isDisabled;
|
||||
private boolean isClicked;
|
||||
private Label label;
|
||||
private LayoutAlign align;
|
||||
|
||||
public <T extends InputEvent> Button(String name, Label textLabel, Consumer<Button> onClick) {//, InputListener<T> onClick, Class<? extends T> onClickClass) {
|
||||
super(name, textLabel);
|
||||
|
@ -5,6 +5,7 @@ import com.google.common.eventbus.Subscribe;
|
||||
import ru.windcorp.progressia.client.graphics.gui.event.FocusEvent;
|
||||
import ru.windcorp.progressia.client.graphics.gui.event.HoverEvent;
|
||||
import ru.windcorp.progressia.client.graphics.gui.layout.LayoutAlign;
|
||||
import glm.vec._2.i.Vec2i;
|
||||
|
||||
public class Interactable extends Component {
|
||||
|
||||
|
Reference in New Issue
Block a user