Browse Source

updated CollectCommand.java: generate a user input to collect specific item

remotes/origin/Julia
Juliakn66 2 years ago
parent
commit
2deb02b591
  1. 5
      src/main/java/org/bitbiome/commands/CollectCommand.java

5
src/main/java/org/bitbiome/commands/CollectCommand.java

@ -12,6 +12,11 @@ import java.util.Scanner;
public class CollectCommand implements CommandAPI { public class CollectCommand implements CommandAPI {
@Override @Override
public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) { public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) {
System.out.println("Was willst du einsammeln?");
String item = new String();
item = scanner.nextLine();
} }

Loading…
Cancel
Save