diff options
Diffstat (limited to 'report')
-rw-r--r-- | report/progression.tex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/report/progression.tex b/report/progression.tex index 215ab82..6600430 100644 --- a/report/progression.tex +++ b/report/progression.tex | |||
@@ -183,12 +183,22 @@ separate the logic from the data storage as part of commit bd639caa0. | |||
183 | 183 | ||
184 | \subsection{Item} | 184 | \subsection{Item} |
185 | 185 | ||
186 | Item support was added as part of commit 3fc06f393. | ||
187 | |||
186 | \subsection{item description} | 188 | \subsection{item description} |
187 | 189 | ||
190 | In order to respect the MVC pattern, the Performer controller should get the | ||
191 | description from the Item model and ask the View to display it. | ||
192 | |||
188 | \subsection{items} | 193 | \subsection{items} |
189 | 194 | ||
195 | A Room can contain multiple items since commit 04f03d128. | ||
196 | |||
190 | \subsection{Collection choice} | 197 | \subsection{Collection choice} |
191 | 198 | ||
199 | The collection chosen to implement the multiple items support was the HashMap in | ||
200 | order to associate an item name (String) to an Item, so that the user is able | ||
201 | to perform actions on a particular one (take, drop, use, etc\ldots). | ||
192 | 202 | ||
193 | \section{Zuul with history} | 203 | \section{Zuul with history} |
194 | 204 | ||