aboutsummaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-02-23 22:40:24 +0000
committerPacien TRAN-GIRARD2014-02-23 22:40:24 +0000
commiteef1285004b9bdf608002f9431905c0df329b870 (patch)
tree89d21ce6565ab8dd07346434fccdcd3d575bd3cd /report
parent3eb6c5630800038ae7d2f7eadfd4f705a6c22f6f (diff)
parent52595afbd4a0e2e2ed41f680c3b84742bf16b530 (diff)
downloadesieequest-eef1285004b9bdf608002f9431905c0df329b870.tar.gz
Merge branch 'zuul-better-v2' into 'master'
Zuul Better V2
Diffstat (limited to 'report')
-rw-r--r--report/progression.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/report/progression.tex b/report/progression.tex
index 2f25aea..da5e34e 100644
--- a/report/progression.tex
+++ b/report/progression.tex
@@ -73,16 +73,42 @@ The eat command has been added with the commit 40b9b4816.
73 73
74\subsection{showAll, showCommands} 74\subsection{showAll, showCommands}
75 75
76This modifications are part of the commit 79d33230b.
77
76\subsection{Adding commands} 78\subsection{Adding commands}
77 79
80Adding new commands would not require modifying the printHelp() method anymore.
81However, adding new commands and related functions would still require editing
82the Game class and its processCommand() method.
83
78\subsection{getCommandList} 84\subsection{getCommandList}
79 85
86The command list is not printed in the CommandWords class anymore. Instead, this
87class returns a String, forwarded by the Parser class, that is then printed in
88the Game class, thanks to commit 5f1d0ada2.
89
80\subsection{Comparison with reference} 90\subsection{Comparison with reference}
81 91
92The printLocationInfo() method, used only twice, has been trimmed by the commit
93590a932e5 and has been replaced by a call to the getLongDescription() method of
94the Room class.
95
96A missing getter for the Room description has been added as part of the commit
97f84606424.
98
99The loop building the command list String has been modified to use an Iterator
100with the commit 0c5793abf.
101
82\subsection{StringBuilder} 102\subsection{StringBuilder}
83 103
104The command list and the exit list are now created using a StringBuilder since
105commit ee5ec33aa. This avoids the creation of a new String object at each
106concatenation, and thus allows better performances.
107
84\subsection{Room objects} 108\subsection{Room objects}
85 109
110Rooms are now stored in an HashMap since commit f64f1ffb0, so they can be
111passed to any method in any class.
86 112
87\section{Zuul with images} 113\section{Zuul with images}
88 114