Browse Source

Added runaway command to general command listener

remotes/origin/fight-engine
fdai7430 2 years ago
parent
commit
7bc0e96f9e
  1. 1
      src/main/java/org/bitbiome/commands/CommandListener.java
  2. 15
      src/main/java/org/bitbiome/commands/RunAwayCommand.java

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

@ -20,6 +20,7 @@ public class CommandListener {
commands.put("use", new UseCommand()); commands.put("use", new UseCommand());
commands.put("location", new LocationCommand()); commands.put("location", new LocationCommand());
commands.put("travel", new TravelCommand()); commands.put("travel", new TravelCommand());
commands.put("runaway", new RunAwayCommand());
} }
public HashMap<String, CommandAPI> returnCommands() { public HashMap<String, CommandAPI> returnCommands() {

15
src/main/java/org/bitbiome/commands/RunAwayCommand.java

@ -0,0 +1,15 @@
package org.bitbiome.commands;
import java.util.Scanner;
import org.bitbiome.classes.TravelEngine;
public class RunAwayCommand implements CommandAPI {
@Override
public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) {
// TODO Auto-generated method stub
}
}
Loading…
Cancel
Save