From 2deb02b591428e9b9cd1efc26ff587ff3d023354 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Sat, 4 Feb 2023 10:46:13 +0100 Subject: [PATCH] updated CollectCommand.java: generate a user input to collect specific item --- src/main/java/org/bitbiome/commands/CollectCommand.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/bitbiome/commands/CollectCommand.java b/src/main/java/org/bitbiome/commands/CollectCommand.java index ea5e07a..49ef575 100644 --- a/src/main/java/org/bitbiome/commands/CollectCommand.java +++ b/src/main/java/org/bitbiome/commands/CollectCommand.java @@ -12,6 +12,11 @@ import java.util.Scanner; public class CollectCommand implements CommandAPI { @Override 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(); + }