Browse Source

Created new Command: Quiz

remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
ed0debe9fa
  1. 1
      src/main/java/org/bitbiome/commands/CommandListener.java
  2. 14
      src/main/java/org/bitbiome/commands/QuizCommand.java

1
src/main/java/org/bitbiome/commands/CommandListener.java

@ -14,6 +14,7 @@ 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("quiz", new QuizCommand());
} }
public HashMap<String, CommandAPI> returnCommands() { public HashMap<String, CommandAPI> returnCommands() {

14
src/main/java/org/bitbiome/commands/QuizCommand.java

@ -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) {
}
}
Loading…
Cancel
Save