Browse Source

created method collectItem() to collectCommand

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

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

@ -1,12 +1,22 @@
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 {
@Override @Override
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