From 3ecc5150121965e1b6f4bbf807d60d5f6694dd1f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 22:16:25 +0100 Subject: Update report --- report/progression.tex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 2f25aea..c4f6c52 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -73,8 +73,14 @@ The eat command has been added with the commit 40b9b4816. \subsection{showAll, showCommands} +This modifications are part of the commit 79d33230b. + \subsection{Adding commands} +Adding new commands would not require modifying the printHelp() method anymore. +However, adding new commands and related functions would still require editing +the Game class and its processCommand() method. + \subsection{getCommandList} \subsection{Comparison with reference} -- cgit v1.2.3 From 5de55c8b8417b22a72ff0c59687a7c0c2eaf8a6e Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 22:40:43 +0100 Subject: Update report --- report/progression.tex | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index c4f6c52..36b9f19 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -85,6 +85,16 @@ the Game class and its processCommand() method. \subsection{Comparison with reference} +The printLocationInfo() method, used only twice, has been trimmed by the commit +590a932e5 and has been replaced by a call to the getLongDescription() method of +the Room class. + +A missing getter for the Room description has been added as part of the commit +f84606424. + +The loop building the command list String has been modified to use an Iterator +with the commit 0c5793abf. + \subsection{StringBuilder} \subsection{Room objects} -- cgit v1.2.3 From 6a11706b099d1dc2a18b139bfb256b50bddc22ff Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 22:48:01 +0100 Subject: Update report --- report/progression.tex | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 36b9f19..08efc02 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -83,6 +83,10 @@ the Game class and its processCommand() method. \subsection{getCommandList} +The command list is not printed in the CommandWords class anymore. Instead, this +class returns a String, forwarded by the Parser class, that is then printed in +the Game class, thanks to commit 5f1d0ada2. + \subsection{Comparison with reference} The printLocationInfo() method, used only twice, has been trimmed by the commit -- cgit v1.2.3 From b330f6389b768d238fd4587800dca707becc661b Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 23:04:34 +0100 Subject: Update report --- report/progression.tex | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 08efc02..ae24a63 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -101,6 +101,10 @@ with the commit 0c5793abf. \subsection{StringBuilder} +The command list and the exit list are now created using a StringBuilder since +commit ee5ec33aa. This avoids the creation of a new String object at each +concatenation, and thus allows better performances. + \subsection{Room objects} -- cgit v1.2.3 From 52595afbd4a0e2e2ed41f680c3b84742bf16b530 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 23:32:23 +0100 Subject: Update report --- report/progression.tex | 2 ++ 1 file changed, 2 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index ae24a63..da5e34e 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -107,6 +107,8 @@ concatenation, and thus allows better performances. \subsection{Room objects} +Rooms are now stored in an HashMap since commit f64f1ffb0, so they can be +passed to any method in any class. \section{Zuul with images} -- cgit v1.2.3