diff options
Diffstat (limited to 'src/esieequest/controller/commands/CommandInterface.java')
-rw-r--r-- | src/esieequest/controller/commands/CommandInterface.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/esieequest/controller/commands/CommandInterface.java b/src/esieequest/controller/commands/CommandInterface.java new file mode 100644 index 0000000..e3a26f9 --- /dev/null +++ b/src/esieequest/controller/commands/CommandInterface.java | |||
@@ -0,0 +1,25 @@ | |||
1 | package esieequest.controller.commands; | ||
2 | |||
3 | import esieequest.model.Game; | ||
4 | import esieequest.view.View; | ||
5 | |||
6 | /** | ||
7 | * The Command interface. | ||
8 | * | ||
9 | * @author Pacien TRAN-GIRARD | ||
10 | */ | ||
11 | public interface CommandInterface { | ||
12 | |||
13 | /** | ||
14 | * Performs the task corresponding to the Command. | ||
15 | * | ||
16 | * @param argument | ||
17 | * the argument to pass to the Command | ||
18 | * @param game | ||
19 | * the Game model | ||
20 | * @param view | ||
21 | * the View | ||
22 | */ | ||
23 | public void execute(String argument, Game game, View view); | ||
24 | |||
25 | } | ||