Browse Source

refactoring: Added comments to CommandInterface

remotes/origin/develop
David Hermann 2 years ago
parent
commit
ad5f87a4b0
  1. 4
      src/main/java/org/bitbiome/commands/CommandAPI.java

4
src/main/java/org/bitbiome/commands/CommandAPI.java

@ -5,6 +5,10 @@ import org.bitbiome.classes.TravelEngine;
import java.util.Scanner; import java.util.Scanner;
public interface CommandAPI { public interface CommandAPI {
// This is the command interface. Every command implements it's run method from here
// This is the API between the commands and the interaction loop/game
public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine); public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine);
} }
Loading…
Cancel
Save