|
@ -14,6 +14,8 @@ public class CommandListener { |
|
|
|
|
|
|
|
|
commands.put("exit", new QuitCommand()); |
|
|
commands.put("exit", new QuitCommand()); |
|
|
commands.put("quit", new QuitCommand()); |
|
|
commands.put("quit", new QuitCommand()); |
|
|
|
|
|
|
|
|
|
|
|
commands.put("use", new UseCommand()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public HashMap<String, CommandAPI> returnCommands() { |
|
|
public HashMap<String, CommandAPI> returnCommands() { |
|
|