Class BooleanArgument
java.lang.Object
me.lauriichan.laylib.command.argument.BooleanArgument
- All Implemented Interfaces:
IArgumentType<Boolean>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(Actor<?> actor, String input, IArgumentMap map) voidsuggest(Actor<?> actor, String input, Suggestions suggestions, IArgumentMap map)
-
Constructor Details
-
BooleanArgument
public BooleanArgument()
-
-
Method Details
-
parse
public Boolean parse(Actor<?> actor, String input, IArgumentMap map) throws IllegalArgumentException - Specified by:
parsein interfaceIArgumentType<Boolean>- Throws:
IllegalArgumentException
-
suggest
- Specified by:
suggestin interfaceIArgumentType<Boolean>
-