aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/controller/commands/CommandInterface.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/esieequest/controller/commands/CommandInterface.java')
-rw-r--r--src/esieequest/controller/commands/CommandInterface.java25
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 @@
1package esieequest.controller.commands;
2
3import esieequest.model.Game;
4import esieequest.view.View;
5
6/**
7 * The Command interface.
8 *
9 * @author Pacien TRAN-GIRARD
10 */
11public 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}