aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/esieequest/Game.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/esieequest/Game.java b/src/esieequest/Game.java
index 89b7318..7da57e9 100644
--- a/src/esieequest/Game.java
+++ b/src/esieequest/Game.java
@@ -15,7 +15,7 @@ public class Game {
15 public Game() { 15 public Game() {
16 this.createRooms(); 16 this.createRooms();
17 this.printWelcome(); 17 this.printWelcome();
18 this.printRoomInfo(); 18 this.printLocationInfo();
19 this.play(); 19 this.play();
20 } 20 }
21 21
@@ -157,10 +157,10 @@ public class Game {
157 } 157 }
158 158
159 this.aCurrentRoom = vNextRoom; 159 this.aCurrentRoom = vNextRoom;
160 this.printRoomInfo(); 160 this.printLocationInfo();
161 } 161 }
162 162
163 private void printRoomInfo() { 163 private void printLocationInfo() {
164 System.out.println("You are now " + this.aCurrentRoom.getDescription() + "."); 164 System.out.println("You are now " + this.aCurrentRoom.getDescription() + ".");
165 165
166 System.out.print("Available exits:"); 166 System.out.print("Available exits:");