Package org.polyfrost.polyui.input
Class KeybindHelper
-
- All Implemented Interfaces:
public class KeybindHelperJava-style builder for creating a KeyBinder.Bind instance.
- Since:
1.7.02
-
-
Constructor Summary
Constructors Constructor Description KeybindHelper()
-
Method Summary
Modifier and Type Method Description KeyBinder.Bindbuild()final KeybindHelperkeys(Keys keys)final KeybindHelperkeys(Integer keys)final KeybindHelpermods(Byte mods)final KeybindHelpermods(KeyModifiers mods)final KeybindHelperchars(Character chars)final KeybindHelperdoesZ(Function1<Boolean, Boolean> func)final KeybindHelperdoes(Function1<Boolean, Unit> func)final KeybindHelperduration(Long duration)final static KeybindHelperbuilder()-
-
Method Detail
-
build
KeyBinder.Bind build()
-
keys
final KeybindHelper keys(Keys keys)
-
keys
final KeybindHelper keys(Integer keys)
-
mods
final KeybindHelper mods(Byte mods)
-
mods
final KeybindHelper mods(KeyModifiers mods)
-
chars
final KeybindHelper chars(Character chars)
-
doesZ
final KeybindHelper doesZ(Function1<Boolean, Boolean> func)
-
does
final KeybindHelper does(Function1<Boolean, Unit> func)
-
duration
final KeybindHelper duration(Long duration)
-
builder
final static KeybindHelper builder()
-
-
-
-