From 841665d081d6617f35582a947c5e32534e5e856e Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Sat, 4 Feb 2023 10:36:32 +0100 Subject: [PATCH] created method collectItem() to collectCommand --- .../java/org/bitbiome/commands/CollectCommand.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bitbiome/commands/CollectCommand.java b/src/main/java/org/bitbiome/commands/CollectCommand.java index 4787179..e459c49 100644 --- a/src/main/java/org/bitbiome/commands/CollectCommand.java +++ b/src/main/java/org/bitbiome/commands/CollectCommand.java @@ -1,12 +1,22 @@ package org.bitbiome.commands; +import org.bitbiome.classes.JsonParser; import org.bitbiome.classes.TravelEngine; +import org.bitbiome.entities.Item; +import org.json.JSONArray; +import org.json.JSONObject; +import java.util.ArrayList; import java.util.Scanner; public class CollectCommand implements CommandAPI { @Override public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) { - + + } + + public void collectItem(ArrayList location, String item, JsonParser jp, JSONObject o, JSONArray inventory, TravelEngine travelEngine) { + } } +