de.lessvoid.nifty.controls
Interface ConsoleCommands.ConsoleCommand
- Enclosing class:
- ConsoleCommands
public static interface ConsoleCommands.ConsoleCommand
You can implement this interface for individual commands and Nifty will call them
when the registered command has been detected.
- Author:
- void
execute
void execute(String[] args)
- Execute the command. You'll get an array of all parameters. This works the
same as with java main, which means the first entry in the array will be the
command and all other array entries are the actual parameters.
- Parameters:
args
- command and arguments
Copyright © 2011. All Rights Reserved.