Class EnumArgumentNode
java.lang.Object
me.efekos.simpler.commands.node.CommandNode
me.efekos.simpler.commands.node.ArgumentNode
me.efekos.simpler.commands.node.impl.ListArgumentNode
me.efekos.simpler.commands.node.impl.EnumArgumentNode
An example of custom 
ArgumentNodes. Allows player to choose an argument from the enumerator given.- 
Constructor Summary
ConstructorsConstructorDescriptionEnumArgumentNode(Class<? extends Enum<?>> enumClass) Constructs a new node.EnumArgumentNode(Class<? extends Enum<?>> enumClass, CommandNode... children) Constructs a new node. - 
Method Summary
Methods inherited from class me.efekos.simpler.commands.node.impl.ListArgumentNode
isCorrect, suggestMethods inherited from class me.efekos.simpler.commands.node.CommandNode
addChild, addChild, getChildren, getConsoleExecutive, getDescription, getExecutive, getParent, getPermission, setConsoleExecutive, setDescription, setExecutive, setParent, setPermission 
- 
Constructor Details
- 
EnumArgumentNode
Constructs a new node.- Parameters:
 enumClass- Anenumclass to generate a list of valid strings of this node.
 - 
EnumArgumentNode
Constructs a new node.- Parameters:
 enumClass- Anenumclass to generate a list of valid strings of this node.children- Children of this node
 
 -