From e52a34789c7f64bbf1bb49dfcb2415dbc7d8ca12 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 15:23:54 +0100 Subject: Rename printRoomInfo to printLocationInfo --- src/esieequest/Game.java | 6 +++--- 1 file 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 { public Game() { this.createRooms(); this.printWelcome(); - this.printRoomInfo(); + this.printLocationInfo(); this.play(); } @@ -157,10 +157,10 @@ public class Game { } this.aCurrentRoom = vNextRoom; - this.printRoomInfo(); + this.printLocationInfo(); } - private void printRoomInfo() { + private void printLocationInfo() { System.out.println("You are now " + this.aCurrentRoom.getDescription() + "."); System.out.print("Available exits:"); -- cgit v1.2.3