From 0f53bd1726629c9c4f16a993ea0662f657165302 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 11 Feb 2014 21:53:03 +0100 Subject: Translate comments (into English) --- src/esieequest/Command.java | 2 +- src/esieequest/Game.java | 8 ++++---- src/esieequest/Room.java | 13 ++----------- 3 files changed, 7 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/esieequest/Command.java b/src/esieequest/Command.java index f6afdea..de6b853 100644 --- a/src/esieequest/Command.java +++ b/src/esieequest/Command.java @@ -1,7 +1,7 @@ package esieequest; /** - * Représente une commande tapée au clavier qui provoque une action dans le jeu. + * A text command that triggers an action in the game. * * @author Pacien TRAN-GIRARD * @author Benoit LUBRANO DI SBARAGLIONE diff --git a/src/esieequest/Game.java b/src/esieequest/Game.java index 147efc5..59ec017 100644 --- a/src/esieequest/Game.java +++ b/src/esieequest/Game.java @@ -1,7 +1,7 @@ package esieequest; /** - * Moteur du jeu. + * The game engine. * * @author Pacien TRAN-GIRARD * @author Benoit LUBRANO DI SBARAGLIONE @@ -31,7 +31,7 @@ public class Game { } private void createRooms() { - // cr�ation des lieux + // create rooms Room vAmphitheaterSeat = new Room("in the amphitheater"); Room vAmphitheaterStage = new Room("on the amphitheater stage"); Room vAmphitheaterEntrance = new Room("at the amphitheater entrance"); @@ -56,7 +56,7 @@ public class Game { Room vCorridorTwoOffice = new Room("in front of the office at floor 2"); Room vOffice = new Room("in the office number 3254"); - // positionnement des sorties (N,S,E,W) + // connect rooms (N, S, E, W) vAmphitheaterSeat.setExits(vAmphitheaterFront, vAmphitheaterFront, null, null); vAmphitheaterStage.setExits(null, null, vAmphitheaterEntrance, vCafeteria); vAmphitheaterEntrance.setExits(vAmphitheaterFront, null, null, vAmphitheaterStage); @@ -81,7 +81,7 @@ public class Game { vCorridorTwoOffice.setExits(null, vCorridorTwo, vOffice, null); vOffice.setExits(null, null, null, vCorridorTwoOffice); - // initialisation du lieu courant + // set the starting room this.aCurrentRoom = vAmphitheaterSeat; } diff --git a/src/esieequest/Room.java b/src/esieequest/Room.java index a8db140..b7a3339 100644 --- a/src/esieequest/Room.java +++ b/src/esieequest/Room.java @@ -1,7 +1,7 @@ package esieequest; /** - * Un lieu. + * A room. * * @author Pacien TRAN-GIRARD * @author Benoit LUBRANO DI SBARAGLIONE @@ -25,16 +25,7 @@ public class Room { } /** - * Défini les quatre sorties (lieux) du lieu - * - * @param pNorthExit - * lieu au Nord - * @param pSouthExit - * lieu au Sud - * @param pEastExit - * lieu à l'Est - * @param pWestExit - * lieu à l'Ouest + * Defines the four exits (other rooms) of this room. */ public void setExits(final Room pNorthExit, final Room pSouthExit, final Room pEastExit, final Room pWestExit) { this.aNorthExit = pNorthExit; -- cgit v1.2.3