@ -14,6 +14,7 @@ public class CommandListener {
commands.put("exit", new QuitCommand());
commands.put("quit", new QuitCommand());
commands.put("quiz", new QuizCommand());
}
public HashMap<String, CommandAPI> returnCommands() {
@ -0,0 +1,14 @@
package org.bitbiome.commands;
import java.util.Scanner;
public class QuizCommand implements CommandAPI {
@Override
public void performCommand(Scanner scanner, boolean isRunning, String message) {