Implemented Command Processor (#375)
* Added CommandConsole and CommandProcessor Interface * Added two commands, ListPlayers and Stop * Registered commands with CommandConsole * Added request for console from main. Made help prompt not print after requesting help... * Moved some files around You didn't see anything * Bug fix * swap `break;` for `continue;` * *cough* bug fix
This commit is contained in:
1 parent
02c7c30582
commit
9b220ec47c
5 files changed
+145
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package com.rebotted.console;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author RS-Emulators
|
||||
*
|
||||
*/
|
||||
public interface CommandProcessor {
|
||||
|
||||
public boolean command(String[] cmd);
|
||||
|
||||
public String help();
|
||||
}
|
||||
Reference in new issue
Block a user