diff options
Diffstat (limited to 'src/esieequest/controller/commands/QuitCommand.java')
-rw-r--r-- | src/esieequest/controller/commands/QuitCommand.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/esieequest/controller/commands/QuitCommand.java b/src/esieequest/controller/commands/QuitCommand.java index 739bf93..be53589 100644 --- a/src/esieequest/controller/commands/QuitCommand.java +++ b/src/esieequest/controller/commands/QuitCommand.java | |||
@@ -2,17 +2,17 @@ package esieequest.controller.commands; | |||
2 | 2 | ||
3 | import esieequest.model.Game; | 3 | import esieequest.model.Game; |
4 | import esieequest.model.Text; | 4 | import esieequest.model.Text; |
5 | import esieequest.view.View; | 5 | import esieequest.view.Viewable; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Allows the user to quit the game. | 8 | * Allows the user to quit the game. |
9 | * | 9 | * |
10 | * @author Pacien TRAN-GIRARD | 10 | * @author Pacien TRAN-GIRARD |
11 | */ | 11 | */ |
12 | public class QuitCommand implements CommandInterface { | 12 | public class QuitCommand implements Executable { |
13 | 13 | ||
14 | @Override | 14 | @Override |
15 | public void execute(final String argument, final Game game, final View view) { | 15 | public void execute(final String argument, final Game game, final Viewable view) { |
16 | 16 | ||
17 | view.echo(Text.QUIT.getText()); | 17 | view.echo(Text.QUIT.getText()); |
18 | view.disable(); | 18 | view.disable(); |