diff options
Diffstat (limited to 'src/esieequest/view/text/Console.java')
-rw-r--r-- | src/esieequest/view/text/Console.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/esieequest/view/text/Console.java b/src/esieequest/view/text/Console.java index e7a71dd..455db81 100644 --- a/src/esieequest/view/text/Console.java +++ b/src/esieequest/view/text/Console.java | |||
@@ -15,9 +15,9 @@ public class Console extends TextInterface { | |||
15 | @Override | 15 | @Override |
16 | protected void run() { | 16 | protected void run() { |
17 | final Scanner scanner = new Scanner(System.in); | 17 | final Scanner scanner = new Scanner(System.in); |
18 | while (this.running) { | 18 | while (this.isRunning()) { |
19 | System.out.print("> "); | 19 | System.out.print("> "); |
20 | this.gameEngine.interpret(scanner.nextLine()); | 20 | this.getController().interpret(scanner.nextLine()); |
21 | } | 21 | } |
22 | scanner.close(); | 22 | scanner.close(); |
23 | } | 23 | } |