diff options
Diffstat (limited to 'src/esieequest/view/text/TextInterface.java')
-rw-r--r-- | src/esieequest/view/text/TextInterface.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/esieequest/view/text/TextInterface.java b/src/esieequest/view/text/TextInterface.java index 09553d5..da80f36 100644 --- a/src/esieequest/view/text/TextInterface.java +++ b/src/esieequest/view/text/TextInterface.java | |||
@@ -3,6 +3,7 @@ package esieequest.view.text; | |||
3 | import java.util.HashMap; | 3 | import java.util.HashMap; |
4 | 4 | ||
5 | import esieequest.controller.GameEngine; | 5 | import esieequest.controller.GameEngine; |
6 | import esieequest.controller.commands.Command; | ||
6 | import esieequest.model.events.Quest; | 7 | import esieequest.model.events.Quest; |
7 | import esieequest.model.items.Item; | 8 | import esieequest.model.items.Item; |
8 | import esieequest.model.map.Room; | 9 | import esieequest.model.map.Room; |
@@ -65,6 +66,7 @@ abstract class TextInterface implements View { | |||
65 | public void enable() { | 66 | public void enable() { |
66 | if (!this.running) { | 67 | if (!this.running) { |
67 | this.running = true; | 68 | this.running = true; |
69 | this.gameEngine.interpret(Command.NEW.name()); | ||
68 | this.run(); | 70 | this.run(); |
69 | } | 71 | } |
70 | } | 72 | } |