Browse Source

created method collectItem() to collectCommand

remotes/origin/Julia
Juliakn66 2 years ago
parent
commit
841665d081
  1. 10
      src/main/java/org/bitbiome/commands/CollectCommand.java

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

@ -1,7 +1,12 @@
package org.bitbiome.commands; package org.bitbiome.commands;
import org.bitbiome.classes.JsonParser;
import org.bitbiome.classes.TravelEngine; 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; import java.util.Scanner;
public class CollectCommand implements CommandAPI { public class CollectCommand implements CommandAPI {
@ -9,4 +14,9 @@ public class CollectCommand implements CommandAPI {
public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) { public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) {
} }
public void collectItem(ArrayList<Item> location, String item, JsonParser jp, JSONObject o, JSONArray inventory, TravelEngine travelEngine) {
}
} }
Loading…
Cancel
Save