diff options
author | Pacien TRAN-GIRARD | 2014-02-23 15:23:54 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-02-23 15:23:54 +0100 |
commit | e52a34789c7f64bbf1bb49dfcb2415dbc7d8ca12 (patch) | |
tree | 6d7e34f54adda71e4c09ce7f8e83cc8f3088254a /src | |
parent | a09f50675a10f1c06eaf47772594cd932d4e4920 (diff) | |
download | esieequest-e52a34789c7f64bbf1bb49dfcb2415dbc7d8ca12.tar.gz |
Rename printRoomInfo to printLocationInfo
Diffstat (limited to 'src')
-rw-r--r-- | src/esieequest/Game.java | 6 |
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:"); |