aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/controller/commands/DropCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/esieequest/controller/commands/DropCommand.java')
-rw-r--r--src/esieequest/controller/commands/DropCommand.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/esieequest/controller/commands/DropCommand.java b/src/esieequest/controller/commands/DropCommand.java
index 3685c21..8d2b820 100644
--- a/src/esieequest/controller/commands/DropCommand.java
+++ b/src/esieequest/controller/commands/DropCommand.java
@@ -3,7 +3,7 @@ package esieequest.controller.commands;
3import esieequest.model.Game; 3import esieequest.model.Game;
4import esieequest.model.Text; 4import esieequest.model.Text;
5import esieequest.model.items.Item; 5import esieequest.model.items.Item;
6import esieequest.view.View; 6import esieequest.view.Viewable;
7 7
8/** 8/**
9 * Allows the user to drop an Item from his inventory (referred by its name) to 9 * Allows the user to drop an Item from his inventory (referred by its name) to
@@ -11,10 +11,10 @@ import esieequest.view.View;
11 * 11 *
12 * @author Pacien TRAN-GIRARD 12 * @author Pacien TRAN-GIRARD
13 */ 13 */
14public class DropCommand implements CommandInterface { 14public class DropCommand implements Executable {
15 15
16 @Override 16 @Override
17 public void execute(final String argument, final Game game, final View view) { 17 public void execute(final String argument, final Game game, final Viewable view) {
18 18
19 final String itemName = argument; 19 final String itemName = argument;
20 20