Browse Source

refactoring: Added access modifier for enemies ArrayList

remotes/origin/fight-engine
fdai7430 2 years ago
parent
commit
faf6ec53ef
  1. 2
      src/main/java/org/bitbiome/commands/UseCommand.java

2
src/main/java/org/bitbiome/commands/UseCommand.java

@ -7,7 +7,7 @@ import org.bitbiome.classes.*;
import org.bitbiome.entities.*; import org.bitbiome.entities.*;
public class UseCommand implements CommandAPI { public class UseCommand implements CommandAPI {
ArrayList<Mob> enemies = new ArrayList<Mob>();
private ArrayList<Mob> enemies = new ArrayList<Mob>();
@Override @Override
public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine engine) { public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine engine) {

Loading…
Cancel
Save