From ad5f87a4b0332170961a112eb3493006573e1a1c Mon Sep 17 00:00:00 2001 From: David Hermann Date: Mon, 6 Feb 2023 11:21:36 +0100 Subject: [PATCH] refactoring: Added comments to CommandInterface --- src/main/java/org/bitbiome/commands/CommandAPI.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bitbiome/commands/CommandAPI.java b/src/main/java/org/bitbiome/commands/CommandAPI.java index a5c48be..9e5ade8 100644 --- a/src/main/java/org/bitbiome/commands/CommandAPI.java +++ b/src/main/java/org/bitbiome/commands/CommandAPI.java @@ -5,6 +5,10 @@ import org.bitbiome.classes.TravelEngine; import java.util.Scanner; 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); }