Browse Source

Shop command integration

remotes/origin/shop
Max Gerbeth 2 years ago
parent
commit
e361f4f2b9
  1. 2
      src/main/java/org/bitbiome/commands/CommandListener.java
  2. 4
      src/main/java/org/bitbiome/commands/ShopCommand.java

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

@ -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("shop", new ShopCommand());
} }
public HashMap<String, CommandAPI> returnCommands() { public HashMap<String, CommandAPI> returnCommands() {

4
src/main/java/org/bitbiome/commands/ShopCommand.java

@ -6,6 +6,8 @@ public class ShopCommand implements CommandAPI{
@Override @Override
public void performCommand(Scanner scanner, boolean isRunning, String message) { public void performCommand(Scanner scanner, boolean isRunning, String message) {
System.out.println("Willkommen im Shop!");
} }
} }
Loading…
Cancel
Save